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
某草草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
阿神2017-05-16 13:13:04
There are many user-related tables, and direct insertion will miss the association. Let’s use create user