I am trying to master the use of the command mysqldump. I enter the following command:
MariaDB [(none)]> mysqldump -u alex -p 1 publications > publications.sql; But instead of the expected result, I get the error:
ERROR 1064 (42000): You have an error in your SQL syntax; If you’re on the Internet, you’ll find out if you’re online.
Can someone tell me what I'm doing wrong?
mysqldumpis not a SQL command, run it from a regular shell. - LythC:\publications.sql- without launching it as an administrator, this will not work. Enter another directory (cd другая\папка) and run the command from there. - Lyth