add default charset
This commit is contained in:
parent
2a99348c9c
commit
7c2d0642c4
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ databases=$($nice -n 19 $mysql -u root -N -e "show databases;" | $grep -v "^info
|
|||
for database in $databases
|
||||
do
|
||||
# dump database
|
||||
$nice -n 19 $mysqldump -u root "$database" > "$database.sql"
|
||||
$nice -n 19 $mysqldump --default-character-set=utf8mb4 -u root "$database" > "$database.sql"
|
||||
|
||||
backup_db "$database" "$backupdirsingle" "$usesamerepo"
|
||||
|
||||
|
|
Loading…
Reference in a new issue