Mysql的error while loading shared libraries解決方法
找不到mysql的動態連結庫,解決方法更新動態連結庫檔案如下
編輯/etc/profile
編輯/etc/profile
加入export MYSQL_PATH=/usr/local/mysql
在shell下執行
#echo '$MYSQL_PATH/lib/mysql' >> /etc/ld.so.conf
#ldconfig
#echo '$MYSQL_PATH/lib/mysql' >> /etc/ld.so.conf
#ldconfig
將 libmysqlclient_r.so.16 和 libmysqlclient_r.so.16 複製到 /usr/lib下,然後ldconfig
[@more@]
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7916042/viewspace-1008603/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- MySQL 啟動報錯 error while loading shared librariesMySqlErrorWhile
- 故障解決:error while loading shared libraries: libncurses.so.5ErrorWhile
- error while loading shared libraries: libclntsh.so.10.1ErrorWhile
- ggsci: error while loading shared libraries: libnnz11.soErrorWhile
- error while loading shared libraries: libgconf-2.so.4:ErrorWhileGC
- mongod: error while loading shared libraries: libstdc++.so.6GoErrorWhileC++
- error while loading shared libraries: libgsl.so.27: cannot open shared objectErrorWhileObject
- Error while loading shared libraries: libreadline.so.7: cannot open shared objecErrorWhileOBJ
- MySQL 5.7初始化報錯error while loading shared libraries: libnuma.so.1MySqlErrorWhile
- MongoDB報錯mongorestore: error while loading shared libraries: libsasl2.so.2MongoDBRESTErrorWhile
- ./XXX.XX: error while loading shared libraries: libGLEW.so.2.1: cannot open shared object file: NoErrorWhileObject
- rpm: error while loading shared libraries: libgcc_s.so.1: cannot open shared object file: No such fi...ErrorWhileGCObject
- error while loading shared libraries: libpython3.7m(2.7).so.1.0: cannot open shared object file: NErrorWhilePythonObject
- linux編譯Android原始碼的時候出錯:error while loading shared libraries: libstdc++.so.6Linux編譯Android原始碼ErrorWhileC++
- linux puppeteer 截圖提示缺少chrome-linux/chrome error while loading shared libraries: libXdamage.so.1LinuxChromeErrorWhile
- Dynamics CRM CRM Reporting Error: Error occurred while fetching the data extension的解決方法ErrorWhile
- mysql的ERROR 1231 (42000)問題原因及解決方法MySqlError
- mysql登入遇到ERROR 1045問題解決方法MySqlError
- mysql登入報錯提示:ERROR 1045 (28000)的解決方法MySqlError
- Android unspecified' depends on one or more Android Libraries but is a jar 的解決方法AndroidJAR
- 帝國CMS提示parse error syntax error的解決方法Error
- 解決Mysql:ERROR 1045 (28000):Access denied for user ‘root‘@‘localhost‘ (using password: NO)的方法MySqlErrorlocalhost
- RuntimeError: Error(s) in loading state_dict for SSD: Missing key(s) in解決辦法Error
- ArchLinux出現ACPI ERROR的解決方法LinuxError
- DedeCMS Error: Tag disabled: "php" 解決方法ErrorPHP
- 【ERROR】ORA-27102: out of memory 解決方法Error
- mac xcrun: error: active developer path 解決方法MacErrorDeveloper
- NFS掛載時出現”access denied by server while mounting”的解決方法NFSServerWhile
- Error establishing a database connection 的解決方法(發現黑客入侵)ErrorDatabase黑客
- 織夢提示dedecms error warning錯誤的解決方法Error
- smplx 的 libGL error: MESA-LOADER: failed to open swrast 的解決方法ErrorAIAST
- Mac安裝Adobe軟體,提示Error解決方法MacError
- 萬能方法解決——You have an error in your SQL syntaxErrorSQL
- ERROR L107: ADDRESS SPACE OVERFLOW keil錯誤的解決方法Error
- FreeBSD系統下zfs: failed with error 6錯誤的解決方法AIError
- brew 報錯 error: Not a valid ref: refs/remotes/origin/master 的解決方法ErrorREMAST
- MYSQL中 TYPE=MyISAM 錯誤的解決方法MySql
- MySQL不能從外部 連線的解決方法MySql
- mysql中出現Unit mysql.service could not be found 的解決方法MySql