People who don't know much about mysql will encounter this error when using the mysql command line: Access denied for user 'ODBC'@'localhost' (using password: NO). This is due to the problem of extracting user permissions when entering the mysql command line after setting a password for the user. In this case, add -h localhost -u root -p after the command line and then press Enter to enter the password. For example, mysqlshow When the command queries all tables under the database information_schema: mysqlshow information_schema -h localhost -u root -p
After the carriage return, the following picture appears:
Basically, that's it.