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
 

投稿作者 作者网站


为您推荐

说点什么

您将是第一位评论人!

提醒
avatar
wpDiscuz