如题,按这个教程升级成功了,但启动服务时出错,初始化也出错,求解决方法,先谢了!
教程: http://www.cnblogs.com/vickygu2007/p/5066409.html
出错信息: [root@localhost ~]# service mysqld start /usr/bin/mysqld_safe: line 178: 1230 Killed nohup /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/mysql/plugin --user=mysql --log-error=/var/log/mysqld.log --pid-file=/var/run/mysqld/mysqld.pid --socket=/var/lib/mysql/mysql.sock < /dev/null > /dev/null 2>&1 MySQL Daemon failed to start. Starting mysqld: [FAILED]
初始化出错: [root@localhost ~]# mysqld --initialize Killed
1
cevincheung 2017-02-11 17:13:37 +08:00 1
错误日志呢?
|
2
defunct9 2017-02-11 17:28:02 +08:00 via iPhone 1
chown -R mysql.mysql /var/lib/mysql
再运行 |
3
lsoknet OP 执行 chown -R mysql.mysql /var/lib/mysql 后仍无法启动。继续求助!
|