Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I import a MySQL database?

database import MySQL
0
Posted

How do I import a MySQL database?

0

You create your database first (will be created within 15 minutes) from your web control panel and then import from your dump file. Log onto your shell account and enter the following at the command line mysql -u username -p database_name < /path/to/dumpfile Example: You create the database 'foon' and your dump file is /home/userid33/mydata.dump The command you are typing at the prompt of your shell account would be: mysql -u userid33 -p foon < /home/userid33/mydata.dump Hit Enter, you will be prompted for your mysql database password Enter password: enter_your_mysql_password_here Hit Enter! your are done!

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123