Loading

摘要: # 创建一个mysql用户,用来备份数据库 CREATE USER 'backupuser'@'localhost' IDENTIFIED BY 'backupuser'; GRANT SELECT, LOCK TABLES, SHOW VIEW, PROCESS ON *.* TO 'backup 阅读全文
posted @ 2024-11-05 21:50 Outsrkem 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 创建MySQL备份用户: https://www.cnblogs.com/outsrkem/p/18528941 #!/bin/bash DUMP="docker exec -it some-mysql /bin/mysqldump" IPADDR=127.0.0.1 PORT=3306 USER= 阅读全文
posted @ 2024-11-05 21:49 Outsrkem 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 解决办法 /bin/mysql -uroot -p --default-character-set=utf8 [database_name] 阅读全文
posted @ 2024-11-05 19:37 Outsrkem 阅读(12) 评论(0) 推荐(0) 编辑