Mysql 出现Table‘xxx’is read only问题
来源:互联网 发布:java职业培训机构 编辑:程序博客网 时间:2024/05/19 18:11
Mysql数据库在由Mssql数据库导入数据文件后出现“ERROR 1036 (HY000): Table ‘xxxx’ is read only”的错误提示,解决方案如下:
1、在Linux命令行下输入下面命令:
mysqladmin -p flush-tables
回车后输入Mysql的root密码,命令即可执行完成。
2、chown mysql:mysql . #更改数据库相关文件的文件所有者和用户组为mysql的相关用户和组。
chmod 660 . #修改文件权限为mysql用户、组读写权限。
3、service mysqld restart #重启mysql服务
mysqlcheck -r 数据库名 [表名1 表名2 …] -u root -p
输入Mysql的root密码等待命令完成,最后测试数据库,问题解决了~!
0 0
- Mysql 出现Table‘xxx’is read only问题
- Mysql 出现Table‘xxx’is read only问题
- MySQL的MyISAM表出现Table XXX is read only问题的解决办法
- MySql出现#1036 – Table ‘ ‘ is read only 错误解决方法
- mysql的table is read only 解决方法
- mysql table is read only 解决
- 关于mysql Table * is read only错误
- Table is 'read only'
- mysql做master/slave时当出现ERROR 1036 (HY000): Table is read only 的解决方法
- Linux下MySQL出现#1036 – Table ‘ ‘ is read only 等错误解决方法
- linux下mysql error #1036 - Table 'xxxx' is read only问题的解决方法
- 如何解决mysql的Table is read only错误
- mysql中Table is read only的解决
- mysql提示Table is read only的解决方法
- 如何解决mysql的Table is read only错误
- Ubuntu下mysql中Table is read only的解决
- mysql中Table is read only的解决方法
- mysql中“Table ‘’ is read only”的解决办法
- 【红宝书笔记】一点关于JS的垃圾回收机制
- CodeForces 611CNew Year and Domino(DP)
- VIM 实用技巧 小记
- Android 5.1编译指令
- 电视答题
- Mysql 出现Table‘xxx’is read only问题
- 人工智能——神经网络算法初体验
- 汉诺塔的实现
- leetcode随笔VIII
- static、auto、register、extern
- 关于现行电商的几个问题
- 二进制取值
- Java项目--坦克大战1
- SQOOP --hive-import 错误(Sqoop Hive exited with status 1)及解决