Drush / MySQL Import Problem : Error at line 1: Unknown command '\-'

Command(s):

drush sql:cli < my_db.sql
mysql -u myusername -p my_db_name < my_db.sql

Error (MariaDB import): 

Error at line 1: Unknown command '\-'

Solution:

Use my_db_name;
SOURCE /path/to/db_sql_file.sql;

Neuen Kommentar schreiben

CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.

Suche

Neueste Kommentare