Table 'mysql.servers' doesn't exist

flush privileges;
出现 Table 'mysql.servers' doesn't exist

use mysql
show tables
是可以看到表的,先删除他,重新建表

drop table if exists servers;
 CREATE TABLE `servers` (
        `Server_name` char(64) NOT NULL,
        `Host` char(64) NOT NULL,`Db` char(64) NOT NULL,
        `Username` char(64) NOT NULL,
        `Password` char(64) NOT NULL,
        `Port` int(4) DEFAULT NULL,
        `Socket` char(64) DEFAULT NULL,
        `Wrapper` char(64) NOT NULL,
        `Owner` char(64) NOT NULL,
        PRIMARY KEY (`Server_name`)
        ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='MySQL Foreign Servers table';
posted @ 2022-09-16 14:26  方东信  阅读(288)  评论(0编辑  收藏  举报