How to import data into a MySQL database using a .sql file
Submitted by Anonymous on Mon, 10/01/2007 - 06:28
To do that use the following command:
mysql -u usernamehere -p -h localhost databasenamehere < mysqlimportfilenamehere.sql;
Please note that the mysqlimportfile should be in the same path where you are running this command from
- Add new comment
- 738 reads
-


Recent comments
1 day 5 hours ago
1 day 6 hours ago
1 week 3 days ago
3 weeks 5 days ago
3 weeks 5 days ago
3 weeks 6 days ago
5 weeks 2 days ago
5 weeks 3 days ago
6 weeks 3 days ago
6 weeks 5 days ago