Jump to content
  • 0
Mentalist

trunk trasnfer

Question

4 answers to this question

Recommended Posts

  • 0

From Putty:

Login to putty(assuming that you using linux)

type following command

 

mysqldump -u root -pPASSWORDHERE database > filename.sql 

it will create filename.sql in the folder you are in, download that filename.sql to your pc, connect to your new vps, transfer filename.sql to there.

then open putty and type following command

mysql -u root -pPASSWORDHERE database < filename.sql

 

 

OR

 

 

If using PhpMyAdmin:

select a database, and export the database by button located at top, choose appropriate options, and export it,(file will be downloaded.)

 

 

On New Host:

Login to phpmyadmin,create database, select that database, Press Import button located at top(besides Export Button), Choose your sql file and submit, and your database will be transferred.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.