mysql集群使用过程中错误集合
2017-11-15 10:25
176 查看
应用场景
在使用mysql集群的过程中,会遇到很多问题,报很多错误,常见的几处错误在此列一下。错误展示
错误1
错误: ERROR 1118 (42000): Row size too large. The maximum row size for the used table type, not counting BLOBs, is 14000. This includes storage overhead, check the manual. You have to change some columns to TEXT or BLOBs.在将单点库数据转成集群库的时候,会报上面的错误,那么需要将出错的表中较长的字段改为Text类型或者Blob类型,再继续执行。
错误2
错误:在转换磁盘表的过程中,如果转换前的内存表没有主键,那么不能转换为磁盘表。错误3
错误:2006 - MySQL server has gone away在sql节点输入如下命令set global max_allowed_packet=1024*1024*60;
错误4
错误:在mysql集群查询过程中,大小写敏感。在sql节点的/etc/my.cnf配置文件中,加入参数设置: [mysqld] Lower_case_table_names=1
错误5
错误: Connection is read-only. Queries leading to data modification are not allowed# mysqladmin -u root -p flush-tables
相关文章推荐
- MySQL在使用过程中遇到的错误
- Mysql存储过程中游标的使用以及错误处理
- JDBC使用MySQL存储过程错误
- 使用MySql过程中遇到的错误
- Linux centos上部署MySQL及在使用过程中常见错误的处理
- win7使用VMware 下部署 hadoop集群(3台)过程及错误
- List集合add使用过程中出现的错误
- MySQL安装过程中,使用net start mysql命令,出现 服务正在启动 服务无法启动 服务没有报告任何错误 的问题
- List集合add使用过程中出现的错误
- mysql 使用过程中遇到的错误
- MySQL的集群配置的基本命令使用及一次操作过程实录
- Python使用Mysql过程中一些错误
- VS下使用openGL过程中的常见错误集合
- MySQL的集群配置的基本命令使用及一次操作过程实录
- mysql存储过程学习笔记--错误处理
- 如何解决Mysql "发生系统错误2,找不到指定的文件" 的问题(第一次安装使用)
- [集群] 实践:使用MMM搭建Mysql集群
- 如何使用集合的方法利用存储过程的结果集
- 在使用 ADOQuery 时出现"在对应所需名称或序数的集合中,未找到项目"错误!
- MySQL 存储过程和"Cursor"的使用方法