Mysql 从命令行下载Mariadb Dump
我正在尝试使用CLI转储数据库。我正在执行以下查询Mysql 从命令行下载Mariadb Dump,mysql,database-dump,Mysql,Database Dump,我正在尝试使用CLI转储数据库。我正在执行以下查询 mysql -u root -p --database = byx_prod_db < dumpfile.sql; 使用文本编辑器检查转储文件。它没有正确创建,似乎包含了您在尝试进行备份时使用的命令行,而不是备份本身。请使用文本编辑器检查转储文件。它没有正确创建,并且似乎以某种方式包含您在尝试进行备份时使用的命令行,而不是备份本身。 ERROR 1064 (42000): You have an error in your SQL sy
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