启动mysql报错
Starting MySQL/etc/init.d/mysqld: line 159: kill: (21755) - No such process?
用戶權(quán)限問題!?
編輯 /etc/rc.d/init.d/mysqld??
vi /etc/rc.d/init.d/mysqld?
找到304行:?
$bindir/mysqld_safe --datadir=$datadir --pid-file=$server_pid_file $other_args >/dev/null 2>&1 &?
改為(加上參數(shù)--user=root):?
$bindir/mysqld_safe --user=root --datadir=$datadir --pid-file=$server_pid_file $other_args >/dev/null 2>&1 &?
然后再試:?
service mysqld start?
Starting MySQL[ OK ]?
轉(zhuǎn)載于:https://blog.51cto.com/chocchen/867440
總結(jié)
- 上一篇: 也说说“从Adapter模式到Decor
- 下一篇: Java、Scala和Go语言多线程并发