search

Home  >  Q&A  >  body text

Why does it show that there is no such user after logging in with admin and 123456?

The name of my database is also tp5, but after entering admin and 123456, it shows that the user has not been changed. Why is this? Please explain.

AwAreWutAwAreWut1970 days ago1756

reply all(3)I'll reply

  • AwAreWut

    AwAreWut2019-07-05 18:42:44

    OK Thanks. let me try.

    reply
    0
  • kanglecheng

    kanglecheng2019-07-05 16:10:21

    "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

    reply
    0
  • AwAreWut

    The 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.

    AwAreWut · 2019-07-06 10:26:06
  • Cancelreply