search

Home  >  Q&A  >  body text

php - mysql insert permission table cannot be connected

I inserted host password user into the user table in the mysql server. The insertion was successful. Then I logged in at the specified host and found that the login failed

ringa_leeringa_lee2840 days ago290

reply all(2)I'll reply

  • 某草草

    某草草2017-05-16 13:13:04

    Insert directly into user? Authorization is not only about inserting data into this table, but also needs to be inserted into several other authorization tables. Use grant

    reply
    0
  • 阿神

    阿神2017-05-16 13:13:04

    There are many user-related tables, and direct insertion will miss the association. Let’s use create user

    reply
    0
  • Cancelreply