the server i am currently using was moved to another server and i need to migrate my whole site to the new server, how ever, i had backup my previous database. just 1 thing, i have to reregister a hosting account and the new account are empty, how do i restore my previous database to my hosting server?
p/s: the last server i use, the r running Lpanel, now the new server is running cpanel x.
If you made a backup of your site and database, you just upload all your files, create a new database with the same username and password, then import the backup.
The backup of the old database should be a text file of CREATE TABLE and INSERT sql statements which you can run from phpmysqladmin on your new server to restore it.
You say new server. Is it the same host? If it is, they might be able to move your site for you if you ask.
actually it is a free server, so they don't didn't transfer it for me.
anyway, thank you.
