mysql 启动不了

邓林海 发布于 2016/07/16 10:58
阅读 356
收藏 0

大侠好,linux不熟。买了个aliyun.刚刚提示有黑客攻击登录,我就到阿里云后台重置了密码,然后mysql就出现问题了。然后我重启,各种启动就是mysql启动不了,查看mysql错误日志就这些,麻烦个位好心人,帮忙看看怎么解决,谢谢了。我刚刚又把密码改回来了,还是启动不了mysql

Starting MySQL. ERROR! The server quit without updating PID file (/alidata/server/mysql/data/iZ94d0sdc81Z.pid).


160716 10:53:06 mysqld_safe Starting mysqld daemon with databases from /alidata/server/mysql/data

/alidata/server/mysql/bin/mysqld: File './mysql-bin.~rec~' not found (Errcode: 13)
160716 10:53:06 [ERROR] MYSQL_BIN_LOG::open_purge_index_file failed to open register  file.
160716 10:53:06 [ERROR] MYSQL_BIN_LOG::open_index_file failed to sync the index file.
160716 10:53:06 [ERROR] Aborting


160716 10:53:06 [Note] /alidata/server/mysql/bin/mysqld: Shutdown complete


160716 10:53:06 mysqld_safe mysqld from pid file /alidata/server/mysql/data/iZ94d0sdc81Z.pid ended
加载中
0
邓林海
邓林海

汗,为什么修改root的密码就回出现这错误。

解决方法 :给予权限,执行 “chown -R mysql:mysql /alidata/server/mysql/data “chmod -R 755 /alidata/server/mysql/data”  然后启动mysqld!

返回顶部
顶部