我正在尝试使用 CLI mariaDb 转储数据库,我正在执行以下查询。
mysql -u root -p --database = byx_prod_db < dumpfile.sql;
我收到这个错误
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