VPS侦探论坛

 找回密码
 注册
查看: 5076|回复: 2

mysql 变更数据目录以后 mysql服务不能启动

[复制链接]
发表于 2013-1-23 07:59:09 | 显示全部楼层 |阅读模式

130122 23:16:28 mysqld_safe Starting mysqld daemon with databases from /home/data/mysql/
/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
130122 23:16:28 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
130122 23:16:28  InnoDB: Initializing buffer pool, size = 16.0M
130122 23:16:28  InnoDB: Completed initialization of buffer pool
130122 23:16:28  InnoDB: Started; log sequence number 0 44233
130122 23:16:28 [Note] Recovering after a crash using mysql-bin
130122 23:16:28 [Note] Starting crash recovery...
130122 23:16:28 [Note] Crash recovery finished.
130122 23:16:28 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
130122 23:16:28 mysqld_safe mysqld from pid file /home/data/mysql//b2b114.pid ended
130122 23:18:42 mysqld_safe Starting mysqld daemon with databases from /home/data/mysql/
/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
130122 23:18:42 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
130122 23:18:42  InnoDB: Initializing buffer pool, size = 16.0M
130122 23:18:42  InnoDB: Completed initialization of buffer pool
130122 23:18:42  InnoDB: Started; log sequence number 0 44233
130122 23:18:42 [Note] Recovering after a crash using mysql-bin
130122 23:18:42 [Note] Starting crash recovery...
130122 23:18:42 [Note] Crash recovery finished.
130122 23:18:42 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
130122 23:18:42 mysqld_safe mysqld from pid file /home/data/mysql//b2b114.pid ended
130122 23:23:08 mysqld_safe Starting mysqld daemon with databases from /home/data/mysql/
/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
130122 23:23:08 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.
130122 23:23:08  InnoDB: Initializing buffer pool, size = 16.0M
130122 23:23:08  InnoDB: Completed initialization of buffer pool
130122 23:23:09  InnoDB: Started; log sequence number 0 44233
130122 23:23:09 [Note] Recovering after a crash using mysql-bin
130122 23:23:09 [Note] Starting crash recovery...
130122 23:23:09 [Note] Crash recovery finished.
130122 23:23:09 [ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.host' doesn't exist
130122 23:23:09 mysqld_safe mysqld from pid file /home/data/mysql//b2b114.pid ended




mysql 变更数据目录以后 mysql服务不能启动??????
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2013-1-23 08:33:04 | 显示全部楼层


/usr/local/mysql/libexec/mysqld: Table 'mysql.plugin' doesn't exist
130122 23:16:28 [ERROR] Can't open the mysql.plugin table. Please run mysql_upgrade to create it.

copy数据库目录时可能mysql.plugin没cp过去,重新在cp一次试试
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-1-24 09:37:37 | 显示全部楼层

重新安装一下得;了
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 23:42 , Processed in 0.025649 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表