Hi all! I was wondering what I miss out below in mysqldump syntax
mysql> mysqldump -u root -p dbaseName >file.sql;
or
mysql> mysqldump -u root dbaseName >file.sql;
I connect as "root" and tehre is no password. In both cases I get errors. Thanks!
What errors?
If you do specify the password in the command then don't put a space after -p and the password.
Right, in case someone is wondering, I figured this out. Mysqldump is standalone and shouldn't be runing inside mysql. Cheers.