MySQL When we create a user, we may encounter the following error:
ERROR 1054 (42S22): Unknown column 'plugin' in 'mysql.user'
It means that there is no plugin field in the table mysq.user
Repair the table and log in to MySQL again.
mysql_upgrade --protocol=tcp -P3306 -p