WHRForums.com
May 23, 2013, 12:20:15 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rules change. Signatures may contain up to 4 clickable links.
 
   Home   Help Search Login Register  

Pages: [1]   Go Down
  Print  
Author Topic: How to export/import databases in Cpanel 11 correctly?  (Read 2342 times)
andreyknure
Ex - New Member
**
Offline Offline

Posts: 15


« on: September 15, 2008, 11:44:12 AM »

Hello guys! The situation is the following - I have some databases on local host and now I am going to upload website to hosting! My friend provided me with some place on his hosting account and now I am going to test a website! Could you please explain how should I act with my ready databases if I have Cpanel 11 installed? I don't wish to rewrite them again and just would like to move them from local host to hosting!
Logged

http://onestopmarketing.com/ - internet marketing services!
http://webservicetoday.com/ - update your websites easily!
ldcdc
Administrator
Middleweight Reviewer
*****
Offline Offline

Posts: 492



WWW
« Reply #1 on: September 16, 2008, 01:45:05 PM »

While I haven't done it in this fashion before (had no need to with phpmyadmin always available), you could do a mysql dump (http://dev.mysql.com/doc/refman/5.0/en/mysqldump.html) on the localhost and a restore on the new server. The restore should be doable via phpmyadmin, or you could also ask your host (or rather your friend's host) to do the restore for you.

Logged

andreyknure
Ex - New Member
**
Offline Offline

Posts: 15


« Reply #2 on: September 29, 2008, 12:19:13 PM »

The situation is the following I used phpmyadmin 2.11.5 on localhost when creating databases, but I have phpmyadmin 2.11.6 installed on my hosting account. I am planning to upload databases to hosting really soon and I have some questions about uploading databases to hosting. Can phpmyadmin version difference cause any problems when importing databases to hosting account?
Logged

http://onestopmarketing.com/ - internet marketing services!
http://webservicetoday.com/ - update your websites easily!
ldcdc
Administrator
Middleweight Reviewer
*****
Offline Offline

Posts: 492



WWW
« Reply #3 on: September 29, 2008, 04:52:17 PM »

I don't suppose there will be issues. Nothing is 100% sure though. Smiley
Logged

hexahost
New member
*
Offline Offline

Posts: 7


« Reply #4 on: January 26, 2009, 12:07:02 AM »

In your localhost you will have your shell access right ? Use mysqldump to export database to a .sql file and use this file to import database using phpmyadmin. This should work for all versions.
Logged
mwaraitch
Lightweight Reviewer
*****
Offline Offline

Posts: 217


WWW
« Reply #5 on: November 27, 2011, 11:49:43 PM »

You can simply login to your cpanel, and goto phpmyadmin and import your database .sql file into it, thats it, The newer version does not matters, while if you have old one then there might be a problem,
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.176 seconds with 18 queries.