开发者

problem Mysqldump from a bat file

I have one bat file on windows7, for backup several tables from my database, like this:

"c:\Gesticom\mysql\bin\mysqldump.exe" -uuser -ppsswd bbdddc [clientes, usuarios, proyectos, proveedores, areas_negocio, costes] --opt > tmp.sql

When I execute this bat I have seen that the code is changed for something like this:

"c:\Gesticom\mysql\bin\mysqldump.exe" -uuser -ppsswd bbdddc [clientes, usuarios, proyectos, proveedores, areas_negocio, costes] --opt 开发者_JAVA技巧1>tmp.sql

Someone knows why appears this number "1"? With it the mysqldump command doesn't work :(

Thank you!


That is just a canonical representation of the command for cmd. It doesn't affect anything that is executed and, in fact, is identical to the command you provided.

It merely says that stream 1 (stdout) is redirected into tmp.sql. If your dump does not work, then it wouldn't have worked before, either.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜