Think before you speak, read before you think.

mysql启动失败

/usr/sbin/mysqld status

提示

lc-messages-dir=/usr/share/mysql

http://www.dotdeb.org/2011/11/01/mysql-5-5-is-finally-here/ 给出了解决方法

在my.cnf中注释掉就可以了

"The mysql-common package will be upgraded to version 5.5.17. It’s no
big deal, it only contains retro-compatible configuration files."
Wrong. The my.cnf delivered by mysql-common-5.5 contains the
lc-messages-dir setting, which MySQL Server 5.1 cannot understand
and will fail to start.To everyone who upgraded mysql-common to 5.5,
but left mysql-server unchanged: Comment out the lc-messages-dir
setting in my.cnf OR YOUR MYSQL SERVER WILL FAIL TO START.

 Best regards,
 Tobias

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *