Reputation: 7243
i am trying to take dump of database using CLI mariaDb i am executing following query.
mysql -u root -p --database = byx_prod_db < dumpfile.sql;
i am getting this error
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'mysqldump --add-drop-database byx_prod_db > dump.SQL' at line 1
Upvotes: 1
Views: 483