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

Odele ·
更新时间:2024-11-10
· 692 次阅读

错误提示:
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



future instead locking mysql启动 USE RELEASE IS AND Mysql

需要 登录 后方可回复, 如果你还没有账号请 注册新账号