show databases; +--------------------+ | Database | +--------------------+ | information_schema | | datapass_schema | | mysql | | test | +--------------------+ 4 rows in set (0.05 sec) mysql> use mysql; Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> show tables -> ; +---------------------------+ | Tables_in_mysql | +---------------------------+ | columns_priv | | db | | event | | func | | general_log | | help_category | | help_keyword | | help_relation | | help_topic | | host | | ndb_binlog_index | | plugin | | proc | | procs_priv | | servers | | slow_log | | tables_priv | | time_zone | | time_zone_leap_second | | time_zone_name | | time_zone_transition | | time_zone_transition_type | | user | +---------------------------+ 23 rows in set (0.00 sec) mysql> create user m identified by 'm'; Query OK, 0 rows affected (0.02 sec)
check for mysql database and user table as shown above, if this dosage function works, your mysql installation is not suitable.
use the following command, as mentioned in another article, to set tables again
mysql_install_db
source share