By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,955 Members | 1,793 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,955 IT Pros & Developers. It's quick & easy.

Importing Database to netbeans java project by sql dump file

P: 1
i can't copy my previously created database to my laptop grom the PC.My miss give me a dump sql file. how can i convert this dump to mysql database?
Mar 28 '13 #1
Share this Question
Share on Google+
2 Replies

P: 13,264
You install MySQL database software and load it using the mysqlimport command.
Mar 28 '13 #2

P: 126
Command to run the .sql file from command prompt

Go to the path where your mysqldump exists then run this command

Expand|Select|Wrap|Line Numbers
  1. Mysql -u username -p pswrd DB_name < "path\of the file\file.extension"
Mar 28 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.