"There is no such user" means that the admin data is not found in the data table. 1. Make sure that there is the login user admin in the database table. 2. Check the login code and whether the data submitted by the form is obtained correctly. 3. You can print the SQL statement and see it
replyThe password is blank at first and needs to be changed in the database. Change the password to 123456 or another password, and then log in according to your username and password.
OK Thanks. let me try.
"There is no such user" means that the admin data is not found in the data table.
1. Make sure that there is the login user admin in the database table.
2. Check the login code and whether the data submitted by the form is obtained correctly.
3. You can print the SQL statement and see it