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