且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

使用mysqldump备份mysql数据库

更新时间:2023-02-07 10:28:36

请尝试:

mysqldump -u root -pabc Db -r "C:\Documents and Settings\All Users\Desktop\ttttt.sql"

您的命令外壳程序将路径名分成多个参数.引号告诉外壳程序将所有内容作为单个参数传递给mysqldump程序.

Your command shell is breaking apart the pathname into multiple arguments. The quotes tell the shell to pass it all as a single argument to the mysqldump program.