Linux CentOS 启动mysql提示错误:Table 'mysql.plugin' doesn't exist
2015-01-23 15:16
579 查看
CentOS 启动mysql提示错误:Table 'mysql.plugin' doesn't exist
在linux CentOS下启动mysql时发现表mysql.plugin不存在,不合理啊,我明明创建了但还是总是提示这个错误,网上搜索原因后发现不能直接创建,需要使用mysql_install_db安装配置。
提示错误:
2015-01-23 14:58:02 30348 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
2015-01-23 14:58:02 30348 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
解决方法:linux shell命令下启动
[~] /usr/bin/mysql-install-db --user=root --datadir=/var/lib/mysql/data
然后启动:
[~] /etc/init.d/mysql start
启动成功!
在linux CentOS下启动mysql时发现表mysql.plugin不存在,不合理啊,我明明创建了但还是总是提示这个错误,网上搜索原因后发现不能直接创建,需要使用mysql_install_db安装配置。
提示错误:
2015-01-23 14:58:02 30348 [Note] Plugin 'FEDERATED' is disabled.
/usr/sbin/mysqld: Table 'mysql.plugin' doesn't exist
2015-01-23 14:58:02 30348 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
解决方法:linux shell命令下启动
[~] /usr/bin/mysql-install-db --user=root --datadir=/var/lib/mysql/data
然后启动:
[~] /etc/init.d/mysql start
启动成功!
相关文章推荐
- net start mysql提示服务无法启动 MySQL: Table 'mysql.plugin' doesn't exist
- MySQL部署时提示Table mysql.plugin doesn’t exist的解决方法
- Linux下MySQL报Table 'xxx' doesn't exist错误解决方法
- linux 启动mysql 时报:Table 'mysql.host' doesn't exist
- /www/wdlinux/mysql/bin/mysqld: Table 'mysql.plugin' doesn't exist
- 装完mysql启动报错:“Table ‘mysql.plugin’ doesn’t exist” 解决方法
- Linux环境下MySQL报Table 'xxx' doesn't exist错误解决方法
- mysql无法启动(Table 'mysql.plugin' doesn't exist)
- [乐意黎原创]因误删除导致Mysql启动时出现system error 1067 has occurred及Plugin FEDERATED is disabled 错误提示的解决方法
- Mysql最后一步安装错误,Error Nr.1146 Table 'mysql.servers' doesn't exist
- "Table 'mysql.plugin' doesn't exist"引发de血案
- Mysql linux 安装时遇到 Can't open and lock privilege tables: Table 'mysql.user' doesn't exist 错误解决方案
- 运行mysql时,提示Table ‘performance_schema.session_variables’ doesn’t exist 解决的方法是:
- 关于连接myEclipse连接mysql时出现 Table 'performance_schema.session_variables' doesn't exist错误解决方法
- windows下 Mysql 错误1067 Can't open and lock privilege tables: Table 'mysql.user' doesn't exist
- 解决Discuz! X2.5 后台能登陆,前台提示“[1146] Table 'xxx.myrepeats' doesn't exist”错误
- mysql 直接从date 文件夹备份表,还原数据库之后提示 table doesn`t exist的原因和解决方法
- mysql 直接从date 文件夹备份表,还原数据库之后提示 table doesn`t exist的原因和解决方法
- redhat mysql数据库 “Can't open and lock privilege tables: Table 'mysql.host' doesn't exist”错误解决方法
- 修正mysqlcc在MySQL 5.0上常报的 Table 'xxx' doesn't exist 错误