Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
5 views
in SQL by (6.1k points)
edited by

I have this below command:

mysql -u #myusername -p #mypasswd MYBASE < c:\user\folderss\myscript.sql

Though, I get the below error while executing:

Error
unknow command '\U'
unknow command '\m'
unknow command '\D'
unknow command '\L' 

1 Answer

0 votes
by (12.7k points)

For those using a Windows OS, I was able to import a large MySQL dump file into my local XAMPP installation using this following command in the command prompt.

C:\xampp\mysql\bin>mysql -u {DB_USER} -p {DB_NAME} < path/to/file/ab.sql

Want to become an expert in SQL? Join SQL Certification course fast !!

You can also watch the below MySQL video tutorial for much deeper understanding.

Related questions

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked Nov 21, 2020 in SQL by Appu (6.1k points)

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...