MySQL启动错误:[Warning] ‘–skip-locking’ is deprecated and will be removed in a future release. Please use ‘–skip-external-locking’ instead

 

[Warning] ‘–skip-locking’ is deprecated and will be removed in a future release. Please use ‘–skip-external-locking’ instead.

错误提示:

101009 15:40:10 mysqld_safe Starting mysqld daemon with databases from /var/db/mysql 

101009 15:40:10 [Warning] ‘–skip-locking’ is deprecated and will be removed in a future release. Please use ‘–skip-external-locking’ instead. 

101009 15:40:10 [Note] Plugin ‘FEDERATED’ is disabled. 

101009 15:40:10  InnoDB: Started; log sequence number 0 44233 

101009 15:40:10 [Note] Event Scheduler: Loaded 0 events 

101009 15:40:10 [Note] /usr/local/libexec/mysqld: ready for connections. 

Version: ‘5.1.51-log’  socket: ‘/tmp/mysql.sock’  port: 3306  FreeBSD port: mysql-server-5.1.51_1



解决方法:



将/etc/my.cnf里面的skip-locking 改为skip-external-locking

重启mysql
 

投稿作者 作者网站
订阅评论
提醒
guest
0 评论
内联反馈
查看所有评论

为您推荐


请支持IMCN发展!

谁在捐赠

微信捐赠 支付宝捐赠
微信捐赠 支付宝捐赠
ta的个人站点

发表文章4105篇

关注我的头条 不要放弃,百折不挠,坚强、自信。





文章归档

0
希望看到您的想法,请发表评论。x
()
x