随笔分类 - MySql
摘要:MySQL5.7 字符集设置 发布于2021-12-14 11:07:46阅读 2290 MySQL5.7 字符集设置 character-set-client-handshake = FALSE character-set-server = utf8mb4 collation-server = u
阅读全文
摘要:Mysql查看连接数(连接总数、活跃数、最大并发数) 1 2 show variables like '%max_connection%'; 查看最大连接数 set global max_connections=1000; 重新设置最大连接数 1 2 3 4 5 6 7 8 9 10 11 mysq
阅读全文
摘要:备份库命令 mysqldump -udotprd -h"sqlIP" -p密码 库 > /path/20210909库.sql 还原命令 登录数据库 use 库 source /path/20210909库.sql; 备份表 mysqldump -udotprd -h"sqlIP" -p密码 库 表
阅读全文
摘要:Mysql 编译报错 g++: internal compiler error: Killed (program cc1plus) 解决办法
阅读全文
摘要:关闭所有 .................................. .连接: ##把全部的MySQL连接kill掉for i in $(mysql -uroot -p123456 -Bse "show processlist" | awk '{print $1}');do mysql -
阅读全文
摘要:Last_SQL_Error: Error 'Can't drop database
阅读全文
摘要:mysql: [Warning] Using a password on the command line interface can be insecure
阅读全文
摘要:mysql show slave status 需要什么权限 grant replication client on *.* to 'user_name'@'%';
阅读全文
摘要:mysql主从同步的键值冲突问题的解决方法
阅读全文