mysql提示Can't find messagefile /usr/share/mysql/english/errmsg.sys
发布:smiling 来源: PHP粉丝网 添加日期:2014-10-04 16:46:06 浏览: 评论:0
今天早上在重启mysql时突然发现启动不了了,结果查看了系统日志发现提示mysql提示Can\'t find messagefile \'/usr/share/mysql/english/errmsg.sys了,这个意思好像是errmsg.sys不见了,下面我来记录我的解决过程.
错误提示:Can t find messagefile '/usr/share/mysql/english/errmsg.sys
解决办法:
1、查看本机安装的mysql版本,然后到http://downloads.mysql.com/archives.php寻找下载对应的mysql版本,解压后,将mysq-x.x.x/sql/share/english/errmsg.sys拷贝到系统的/usr/share/mysql/english/下,覆盖同名errmsg.sys文件,建议覆盖前备份一份,即可.
2、执行,代码如下:# mysql_install_db
3、启动mysql,代码如下:
# service mysqld start
注意:如果你是卸载mysql的时候/usr/share/mysql/english/errmsg.sys 这个文件是不会删除的,导致第二次的启动失败.
Tags: Can t find messagefile usr share
相关文章
- ·Mysql出现Can’t connect to MySQL server on ‘localhost’ (10061)问题(2014-09-23)
- ·mysql删除数据提示Cannot delete or update(2014-09-24)
- ·解决Navicat cannot proceed because system tables办法(2014-09-24)
- ·MySQL下“Can’t create/write to file xxx (Errcode: 13)”错误(2014-09-27)
- ·Can't create/write to file C:/WINDOWS/TEMP/...MYSQL (2014-09-29)
- ·启动MYSQL提示:Can’t connect to MySQL through socket ‘/tmp/mysql.sock(2014-10-08)
- ·mysql提示Can t connect to MySQL server on localhost (10061)(2014-10-09)
- ·MySQL报错1042-Can t get hostname for your address(2014-10-10)
- ·MySQL报错1042-Can't get hostname for your address(2014-10-10)
- ·mysql恢复数据数据出现Variable sql_mode cant 解决方法(2014-10-10)
- ·mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication(2014-10-13)
- ·mysql Can’t connect to local MySQL server through socket ‘/var/lib/mysql/(2014-10-14)
- ·启动mysql出错:Can't find messagefile '/usr/share/mysql/errmsg.sys(2015-04-17)
- ·Navicat 导出mysql数据库的时候出现 “Cannot proceed because system(2015-04-18)
- ·解决mysqlnd cannot connect to MySQL 4.1+ using the old insec(2015-04-20)
- ·怎样使MySQL安全以对抗解密高手(2013-11-11)
推荐文章
热门文章
最新评论文章
- 写给考虑创业的年轻程序员(10)
- PHP新手上路(一)(7)
- 惹恼程序员的十件事(5)
- PHP邮件发送例子,已测试成功(5)
- 致初学者:PHP比ASP优秀的七个理由(4)
- PHP会被淘汰吗?(4)
- PHP新手上路(四)(4)
- 如何去学习PHP?(2)
- 简单入门级php分页代码(2)
- php中邮箱email 电话等格式的验证(2)