1.备份的时候出现2002报错,找不到/tmp/mysql.sock,这个文件 [root@centos199 backup]# mysqldump -uroot -ppassword cz-office > mysql38.sqlWarning: Using a password on the command line interface can be insecure.mysqldump: Got error: 2002: Can't connect to local MySQL serve…
--创建测试 CREATE DATABASE db GO --正常备份 BACKUP DATABASE db TO DISK='c:\1.bak' WITH FORMAT BACKUP LOG db TO DISK='c:\2.bak' WITH FORMAT BACKUP LOG db TO DISK='c:\3.bak' WITH FORMAT BACKUP DATABASE db TO DISK='c:\4.bak' WITH FORMAT BACKUP DATABASE db TO…