摘要: 1.先进入主库,进行锁表,防止数据写入 mysql> flush tables with read lock; 2.进行数据备份 /usr/local/mysql/bin/mysqldump -uroot -p --quick --routines --master-data=2 --single- 阅读全文
posted @ 2022-03-03 17:52 小吉猫 阅读(201) 评论(0) 推荐(0) 编辑
摘要: MySQL server has gone away https://dev.mysql.com/doc/refman/5.7/en/gone-away.html Lost connection to server during query 该MySQL server has gone away错误 阅读全文
posted @ 2022-03-03 13:24 小吉猫 阅读(118) 评论(0) 推荐(0) 编辑
摘要: max_connections 命令行格式 --max-connections=# 系统变量 max_connections 范围 global 动态的 是的 类型 整数 默认值 151 最小值 1 最大值 100000 允许的最大同时客户端连接数。最大有效值是open_files_limit-81 阅读全文
posted @ 2022-03-03 11:38 小吉猫 阅读(131) 评论(0) 推荐(0) 编辑