On Apr 11, 2015 11:26, "Steve VanSlyck" <s.vanslyck(a)postpro.net> wrote:
I don't see anything wrong with this syntax:
But I am getting a complaint, "#1064 - 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 --user=LoginName
--password=MyPassword my_wiki' at line 1"
The example given was mysqldump --user=wikidb_user
--password=wikidb_userpassword
wikidb --xml > file.xml
given where?
2 problems:
* you're executing that at a mysql prompt not a shell prompt. (mysqldump is
its own separate program)
* you should leave off the --xml and dump as SQL
-Jeremy