show variables like 'character%'
备份数据库
/opt/mysql/bin/mysqldump -hlocalhost -uroot -proot --flush-logs=true cfcs | gzip > /tmp/cfcs_bak.gz