0

I recieved a mysql backup without .dump as a extension from hosting provider. How do I restore that database somewhere else.

I am using linux box with mysql version 5.0 .

I have tried steps posted at How do I restore a dump file from mysqldump? but couldn't get through.

Thanks in advance.

2
  • If the database backup does not have a .dump extension, then what format is it on? Can you run it through "file" and find out what kind of file is it? Commented Oct 6, 2009 at 10:30
  • I got this from webhost4life admin control panel, when I did the backup of this database. Commented Oct 6, 2009 at 10:43

2 Answers 2

2

You can do it via command line very simple:

mysql -u USERNAME -p < DUMP_FILENAME
Sign up to request clarification or add additional context in comments.

Comments

1

If you use phpmyadmin as a backend tool, use the 'import' feature. This is located in a popup box. To activate this popup click the 'SQL terminal' looking icon on the left hand plane and in the window which pops up head over to the 'import files' tab and upload the dump there.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.