mysql压缩备份

rm -rf `ls -t|tail -n +11`#只保留10个文件 mysqldump -uroot -pxxx --single-transaction --master-data=2 --d

2019-08-14 22:30:28

mysql修改密码

grant all privileges on *.* to 'mydb'@'127.0.0.1' identified by 'mypwd' with grant option; set pass

2019-07-26 23:01:03