Get Paid to Participate     Twitter     Facebook     Google+
Hosting Discussion
 

Hosting Discussion > Web Hosting Forums > Essential Software & Control Panels > Basic guide on how to move mysql dabatases
forgot password?


Reply


Old
  Post #1 (permalink)   10-26-2005, 07:51 PM
HD Addict
 
Join Date: Sep 2005
Posts: 138
Send a message via ICQ to ayksolutions Send a message via AIM to ayksolutions Send a message via MSN to ayksolutions Send a message via Yahoo to ayksolutions

Status: ayksolutions is offline
The following way is only good for users with phpMyAdmin installed on their servers!

1. Login to your old control panel and go to PHPmyAdmin (if you are running Cpanel, it will be under MySQL, at the bottom).
2. Choose the database you want to move from the drop down list on the left.
3. After the page loads, click on the 'Export' tag at the top of the right page. Then 'Select All'. This will select all the tables in the database.
4. Finally, check the SQL extension type (should be default), check the Save To File box and put in the name you want this file to have.
5. Hit 'Go'. This will save the .sql file to your machine at home/office.
6. Upload the .sql file to that account on your new server.
7. Login to shell and put in:
'mysql -u dbname_user -p dbname_dbname < dbfile.sql
8. Hit enter and for the password put in the password of that database.

If you do not have shell access, you can use phpmyadmin to do the same, almost.

After downloading the file, login to your phpmyadmin panel on your new server, choose the database you want to populate (must have the same name as the one on your old server), click on the SQL tab and copy/paste the whole database into the text field. Then just hit 'Go'. If the database is large, it may take a while, so give it some time.
__________________
www.AYKsolutions.com - Atlanta, Jacksonville, Chicago, Los Angeles
From Shared to Dedicated - High bandwidth plans & VPS available
Professional. Painless. Polite.
 
 
 


Old
  Post #2 (permalink)   10-29-2005, 07:07 AM
HD Addict
 
Join Date: Feb 2005
Posts: 121

Status: ThinkSupport is offline
Thats really a nice stepwise discription ..its a question asked regularly.;

Your post will help many
__________________
ThinkSupport Solutions - ThinkSupport.net
Thinking Of Support Solutions ? ......... Think About US ......... !
PH : (408)-9142-581 AIM : ThinkingSupport MSN : sales@thinksupport.net
Offering 24/7 Outsourced Support Solutions for all major control panels/os's
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: