当前位置:网站首页>The database connection code determines whether the account password is correct, but the correct account password always jumps to the failure page with wrong account password
The database connection code determines whether the account password is correct, but the correct account password always jumps to the failure page with wrong account password
2022-07-04 12:22:00 【CSDN Q & A】
- use sql Statement to the database input everything is normal
- tomcat The deployment is also normal , The only problem is that the input form is wrong , No matter what you enter, the business layer account password is wrong
Take the answer :
url There is a mistake here
What you're writing is :String url="jdbc:mysgL;//Localhost:3306/atm"
The right one is :String url="jdbc:mysql://localhost:3306/atm"
If there is a garbled code problem, write it as :"jdbc:mysql://localhost:3306/atm?UseUnicode=true&CharacterEncoding=true"
边栏推荐
- What if the chat record is gone? How to restore wechat chat records on Apple Mobile
- How to create a new virtual machine
- Reptile learning 3 (winter vacation learning)
- 2020 Summary - Magic year, magic me
- Btrace tells you how to debug online without restarting the JVM
- os. Path built-in module
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 18
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 5
- [Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 22
- Introduction of network security research direction of Shanghai Jiaotong University
猜你喜欢
netstat
Simple understanding of seesion, cookies, tokens
Experiment 7. IPv6
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 8
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 20
Process communication and thread explanation
Detailed explanation of classic process synchronization problems
Alibaba cloud server connection intranet operation
Leetcode: 408 sliding window median
Properties and methods of OS Library
随机推荐
[the way of programmer training] - 2 Perfect number calculation
The latest idea activation cracking tutorial, idea permanent activation code, the strongest in history
MySQL advanced (Advanced) SQL statement
Ultimate bug finding method - two points
[solve the error of this pointing in the applet] SetData of undefined
QQ get group information
Single spa, Qiankun, Friday access practice
Number and math classes
Experiment 7. IPv6
[Yunju entrepreneurial foundation notes] Chapter II entrepreneur test 13
Solaris 10 network services
Definition and method of string
Shift EC20 mode and switch
[ES6] template string: `string`, a new symbol in es2015
Workplace liquor bureau must pay attention to
IPv6 experiment
Awk getting started to proficient series - awk quick start
Automatic translation between Chinese and English
Alibaba cloud server connection intranet operation
Application of slice