This section is to enter the database to verify the user name and password
The database looks like this
But I’m under cmd, and select becomes
My background output shows that the Chinese received by my java processing text has been processed, which is normal Chinese, and the current situation in the database
I made another insert statement under cmd. The Chinese display here is right, but it is wrong in navicat for mysql. This problem has been bothering me for a long time. Let’s have a great god take me with you! !
There is no need to convert strings across character sets; getParameter () has already returned a string
It is estimated that the code of the database is inconsistent with the code specified by the database connection inside.