I am trying to export a database in my linux server into another server. I did some googling on mysqldump which basically dumps the content of the table on how to create it into a text file.
I used the following query:
mysqldump web15db1 > sql.dump
where web15db1 is the name of my database.
And i get a syntax error:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'mysqldump web15db1 > sql.dump' at line 1I did it after loggin into mysql shell.
Please help me as I urgently need to export the database.