• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

-skip-locking这个参数在那个参数资料中设置

mysql 搞代码 7年前 (2018-06-05) 198次浏览 已收录 0个评论

–skip-locking这个参数在那个参数文件中设置
我在mysql启动的时候, 在错误日志里面总是有一个warning  

[Warning] ‘–skip-locking’ is deprecated and will be removed in a future release. Please use ‘–skip-external-locking’ instead.
不影响启动和mysql的正常使用 
 
这个–skip-locking参数在那个文件里面 ?
我在my.cnf里面查找也搜索不到

麻烦高手指点下 这个参数是在哪个文件里面的 我想重新设置一下 谢谢

下面是mysql-test.err文件中的启动log信息:
120720 09:40:12 mysqld_safe mysqld from pid file /usr/local/mysql/var/mysql-test.pid ended
120720 09:43:22 mysqld_safe Starting mysqld daemon with databases from /usr/local/mysql/var
120720 9:43:22 [Warning] ‘–skip-locking’ is deprecated and will be removed in a future release. Please use ‘–skip-external-locking’ instead.
120720 9:43:22 InnoDB: Started; log sequence number 0 44233
120720 9:43:22 [Note] Event Scheduler: Loaded 0 events
120720 9:43:22 [Note] /usr/local/mysql/libexec/mysqld: ready for connections.
Version: ‘5.1.51-log’ socket: ‘/tmp/mysql.sock’ port: 3306 Source distribution

——解决方案——————–
应该是在配置文件里面写的 

find / -name my.cnf 找找别的地方是否还有配置文件
——解决方案——————–
在配置文件my.cnf中。
——解决方案——————–
1) 你的服务启动命令中添加了参数。
2) 你的 my.ini 或者 my.cnf 中有这么一行。

首先先检查你的启动参数,
——解决方案——————–
那用的就的 /etc/my.cnf


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:-skip-locking这个参数在那个参数资料中设置
喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址