摘要:
# 创建一个mysql用户,用来备份数据库 CREATE USER 'backupuser'@'localhost' IDENTIFIED BY 'backupuser'; GRANT SELECT, LOCK TABLES, SHOW VIEW, PROCESS ON *.* TO 'backup 阅读全文
摘要:
创建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= 阅读全文
摘要:
解决办法 /bin/mysql -uroot -p --default-character-set=utf8 [database_name] 阅读全文