mysql service在启动的时候都会显示
Timeout error occurred trying to start MySQL Daemon.
mysql 支持几种数据表格式 myisam,innodb..等
而你的组态档中innodb的部分设定有误,于是mysql告诉你起始错误
解决方法如下
修改 /etc/rc.d/init.d/mysqld
if [ $ret -eq 0 ]; then
for x in 1 2 3 4 5 6 7 8 9 10; do
if [ -n "`/usr/bin/mysqladmin ping 2> /dev/null`" ]; then
break;
else
sleep 1;
fi
done
if !([ -n "`/usr/bin/mysqladmin ping 2> /dev/null`" ]); then
echo "Timeout error occurred trying to start MySQL Daemon."
action $"Starting $prog: " /bin/false
else
action $"Starting $prog: " /bin/true
fi
|
|