无法还原mysql数据库

时间:2019-03-07 09:35:09

标签: mysql mariadb restore

当我尝试删除mysql数据库时,在还原之前出现错误,

ERROR 1146 (42S02): Table 'mysql.proc' doesn't exist 

但是mysql.proc在删除数据库之前已存在于数据库中。 知道为什么MySql在这里表现异常吗?

  

注意:这不是升级的数据库,这是新安装的MariaDb-10.0.26数据库。

Database changed
MariaDB [mysql]> show tables;
+---------------------------+
| Tables_in_mysql           |
+---------------------------+
| column_stats              |
| columns_priv              |
| db                        |
| event                     |
| func                      |
| general_log               |
| gtid_slave_pos            |
| help_category             |
| help_keyword              |
| help_relation             |
| help_topic                |
| host                      |
| index_stats               |
| innodb_index_stats        |
| innodb_table_stats        |
| plugin                    |
| proc                      |
| procs_priv                |
| proxies_priv              |
| roles_mapping             |
| servers                   |
| slow_log                  |
| table_stats               |
| tables_priv               |
| time_zone                 |
| time_zone_leap_second     |
| time_zone_name            |
| time_zone_transition      |
| time_zone_transition_type |
| user                      |
+---------------------------+
30 rows in set (0.00 sec)

MariaDB [mysql]> drop database mysql;
ERROR 1146 (42S02): Table 'mysql.proc' doesn't exist

0 个答案:

没有答案