mysql中Table is read only的解決方法


1.mysql 安裝目錄權限設置為777

主要就是以下幾個文件:

  

    usr/bin/mysql 是指:mysql的運行路徑 
   var/lib/mysql 是指:mysql數據庫文件的存放路徑 
   usr/lib/mysql 是指:mysql的安裝路徑

  

2.運行命令,重啟服務

cd /usr/local/mysql/bin 
./mysqladmin -u root -p flush-tables
填寫密碼

  

該問題解決!!!


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



猜您在找 Android出現Read-only file system 解決方法 Vue報錯:Uncaught TypeError: Cannot assign to read only property’exports‘ of object’#‘的解決方法 Linux出現Read-only file system錯誤的解決方法 Vue報錯:Uncaught TypeError: Cannot assign to read only property 'exports' of object 的解決方法 關於vue-cli3打包時遇到Cannot assign to read only property 'exports' of object '#'問題的解決方法。 MySQL出現Waiting for table metadata lock的原因以及解決方法 vue-cli3 打包時使用‘babel-loader’遇到Cannot assign to read only property ‘exports’ of object '#'問題的解決方法。 MySQL報錯解決:The MySQL server is running with the --read-only option so it cannot execute this statement INSTALL_FAILED_TEST_ONLY 的解決方法 8.在python中用data_only=True設置顯示excel表格中公式的結果為None的解決方法
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM