I have the following error when trying to import .sql file into MYSQL from the command prompt.
C:\Program Files\MySQL\MySQL Workbench 5.2 CE\utilities>mysqldbimport --server=
root:password@localhost <filepath>
# Source on localhost: ... connected.
# Importing definitions from <filepath>
ERROR: Invalid statement:
CREATE DATABASE `None`;
I have had a look at the command line parameters when using mysqldbimport.exe and found a skip command which gets past this error by adding --skip CREATE_DB, which imports however there is no data available as the process has been skipped.
How can I get around this error?