偶遇mysql(Percona Server)的一个新bug
生活随笔
收集整理的這篇文章主要介紹了
偶遇mysql(Percona Server)的一个新bug
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
bug的原因是在linux系統下,mysql的配置文件my.cnf的basedir不能使用軟連接.
表象如下:
#cat?/usr/local/mysql/my.cnf?|?grep?basedir basedir=/usr/local/mysql #ln?-sf?Percona-Server-5.6.34-rel79.1-Linux.x86_64.ssl101?mysql #/usr/local/mysql/support-files/mysql.server?start Starting?MySQL?(Percona?Server).?mysqld_safe?ld_preload?libraries?can?only?be?loaded?from? system?directories?(/usr/lib64,?/usr/lib,?/usr/local/mysql/lib) ERROR!?The?server?quit?without?updating?PID?file?(/usr/local/mysql/data/pidfile.pid).然后,把basedir的地址換成絕對路徑
#cat?/etc/my.cnf?|?grep?basedir basedir=/mysql/Percona-Server-5.6.34-rel79.1-Linux.x86_64.ssl101 #/usr/local/mysql/support-files/mysql.server?start Starting?MySQL?(Percona?Server).?SUCCESS!就是這么回事.......
此bug存在于5.6.34(我用出問題的版本),還有5.7.15(bug提供者的版本),其實我個人感覺嚴格來說也不能算是bug吧,畢竟也沒影響正常使用,如果是官方版本,也不會出現此類問題,因為不用創軟連接.
bug提供者提交的網頁地址
https://bugs.launchpad.net/percona-server/+bug/1639735
轉載于:https://blog.51cto.com/arthur376/1879839
總結
以上是生活随笔為你收集整理的偶遇mysql(Percona Server)的一个新bug的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: C(++) Websocket实现扫码二
- 下一篇: UIAlertController的使用