0
I have some questions. I need to make a copy of a database that is not on my machine, but on a server.. I am using the mysql dump command, but when I type the following command
mysqldump -u user -password&1234 database > .sql file
, it returns that what is from the "&", is not valid..
thus:
"1234 is not recognized as an internal or external command or a operable program or batch file".
that "&" in the password cannot exist? ...
one more thing, before using this command I need to connect to the right bank?
prompt> mysql [-h hostname or ip] [-u user_name] [-psua_password]
I use this command?..
grateful at once.
The dump runs directly on the console. And the problem is not in the dump, but in the absence of escaping the special characters. If it’s linux, try one before the &
– Bacco
Utilize Toad for Mysql (http://www.toadworld.com/m/freeware/1469) is very useful for maintenance work, backing up is very practical.
– KingRider