Account permissions of MySQL database

A new account "report_root"," has been opened in MySQL and only gives the database "report_import"" permission to operate.
this account can log in normally, but any database can be read after login.
so log in with your root account and everything is fine.
has tried to use it properly when all permissions are given to the account "report_root".
could you tell me what this is all about?
the following is the procedure.

clipboard.png

Feb.24,2022

the real reason is that this paragraph reported an error

clipboard.png

the has gone away before this error indicates that the timeout was disconnected, and then the reconnection failed

  1. check the error log to see the cause of connection failure
  2. then see if the init_connect parameters are mismatched
Menu