![]() |
|
|
|||||||
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||
|
It's actually rather easy to do through ssh:
Login to old host: Commands: First, dump the database to a file. mysqldump database -uusername -ppassword > database.sql then open an FTP session to your new host: ncftp -uuser new-host then put the file dump on the new server. Navigate to any appropriate directory first: put database.sql Exit twice, first to close the FTP session, and the SSH session: exit exit ssh to new host (make sure the database actually exists!) mysql database -uusername -p < database.sql or simply mysql database -uusername -p enter password source database.sql
__________________
http://img76.imageshack.us/img76/6450/sc2but4ng.gif | http://img495.imageshack.us/img495/...ogorwtan0je.gif | <a href="http://webtools.sc2.info"><img src="http://img129.imageshack.us/img129/8682/sc2webtan7ju.gif" border="1" width="100" alt="Free Webtools for all" /></a> | <a href="http://www.indexrated.com"><img src="http://img398.imageshack.us/img398/4813/listed1pb.gif" border="1" width="100" alt="Index Rated Directory - Rating Quality Sites" /></a> Get all Games,Apps and Wallpapers Nokia, Samsung and Sony Erricson!! |
|
|
|
||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|