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删除。



猜您在找 mysql中Table is read only的解决方法 Linux下MySql出现#1036 – Table ‘ ‘ is read only 错误解决方法 Android出现Read-only file system 解决方法 超级详细的解决方法 (CentOS7) :永久修改 mysql read-only 问题 could not retrieve transation read-only status server mysql中的read_only和super_read_only mount: block device /dev/cdrom is write-protected, mounting read-only 解决方法 mount: block device /dev/cdrom is write-protected, mounting read-only 解决方法 Linux文件系统只读Read-only file system的解决方法 Linux出现Read-only file system错误的解决方法 Vue报错:Uncaught TypeError: Cannot assign to read only property’exports‘ of object’#‘的解决方法
 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM