Skip to content
WJunction - Webmaster Forum

how to upload .DUMP db file

Status
Not open for further replies.
Hello i have big problem , my all previous backup of database are in .DUMP format

can anyone please tell me how can restore it to my new host phpmyadmin
 

2 comments

If the database you want to restore doesn't already exist, you need to create it first.

On the command-line, if you're in the same directory that contains the dumped file, use these commands (with appropriate substitutions):

root#> mysql -u root -p

mysql> create database YOUR_ORIGINAL_DBNAME;
mysql> use YOUR_ORIGINAL_DBNAME;
mysql> source db_backup.dump;

or:

mysql -p -u[user] [database] < db_backup.dump
 
Status
Not open for further replies.

About the author

I
Active Member · Joined
83
Messages
2
Reactions
8
Points

Advertise on WJunction

Reach 1000's of webmasters, hosts & affiliates. Banner & sponsored-thread slots available.

Contact us
Back
Top Bottom