Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Importing a database with PHPMyAdmin
#1
Importing a database using PHPMyAdmin
Let me first say this is one of my more simple tuts, and I am taking ideas for other tutorials to write so feel free to request one!

Okay then, I am assuming in this tutorial you have just swapped web hosts, and re-uploaded your forum with the correct file and directory permissions. If you have not done all of that please refer to my 'MyBB installation guide'

First of all you want to load up PHPMyAdmin (PHPMyAdmin can usually be found at www.yourdomain.tld/phpmyamdin or www.yourdomain.tld/PHPMyAdmin, however if it is not you can usually get that information from your host or your hosting control panel).

Now you need to find the 'Create Database' textbox and type in the name of your database, for this tutorial I will be using the database name 'mybb'.

[Image: phpmyadminnewdatabase.png]

Hit 'Create'

Now you have created your database, you can begin to upload your backup. Find the 'Import' button in PHPMyAdmin.

[Image: phpmyadminimport.png]

Click it and you should see a screen like so:

[Image: phpmyadminimporttextbox.png]

Click browse and navigate to your forum backup (mine is called 'Backup.sql').

[Image: phpmyadminimportbrowse.png]

Once you have selected your backup, find and click 'Go'.
Now just wait, the page will appear to be stuck loading.

[Image: phpmyadminuploadloading.png]

This will take longer the bigger your database is. Do not refresh or press the back button.

After that is complete you should be able to see all your tables in the left hand column. That means it was successful!

[Image: phpmyadminimportsuccess.png]

Congratulations you just imported your database using PHPMyAdmin!
Reply
#2
Thanks for the share, really helpful.
Reply
#3
Very lovely share and helpful for newbies who are new to these types of things in CPANEL.
Reply
#4
If you compress it as a tarball (tar.gz) It's much smaller and quciker to upload, The server will auto extract it in seconds.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use database backups? Charles 6 1,191 04-18-2011, 07:54 AM
Last Post: Mammoth
  MyBB database problem Sickshot 2 2,018 04-07-2011, 07:42 AM
Last Post: Sickshot
  How often do you backup your database? Danny 6 1,520 02-28-2010, 04:33 AM
Last Post: Skill
  Converting MyBB 1.4.9 Database to IP Board 3.0.4 Backslash 8 1,415 11-20-2009, 01:18 AM
Last Post: MattR
  Cookie, Possibly Database, Problem Between Four MyBB Forums Psinetic 7 1,527 11-01-2009, 12:24 PM
Last Post: Psinetic

Forum Jump:


Users browsing this thread: 1 Guest(s)