Transfer Hosting company

jean89

New member
Hi there

I have been trying to transfer the hosting company for my site.

I have successfully uploaded the files into the new ftp but it seems to be a problem in database access.

How could I solve this problem?

Thank you for your help
 
you need to import the mysql database as well.
and make sure the host database location. some is localhost, some is using remote mysql server...get the IP right.
 
jean89 said:
Hi there

I have been trying to transfer the hosting company for my site.

I have successfully uploaded the files into the new ftp but it seems to be a problem in database access.

How could I solve this problem?

Thank you for your help

Do This..
1. First contact your new web host. They should be able to transfer it using WHM if your account is under 250 MB.
2. If not, you would have to make a full back up, and then upload the files onto the new server.
3. You then would have to make the databases, then go into phpMyAdmin and upload the SQL's.

Assuming that your new and old host were cPanel, if so you can follow the above instructions.

Then your site should function the right way. Also make sure that your database names and passwords are the same, if not you would have to go in and edit every install file for each one of your scripts with a new database information.

Hope this helped. :thumbsup:
 
If your host doesnt transfter your site automatically with WHM. Follow:

1. FTP files.
2. Take a backup and restore the database on new server (Use exxport and import feature on phpMyAdmin)
3. Edit your config file(php) to reflect new database settings(username, host, password, database name)
 
Just backup via phpmyadmin for database or use a cron job. Then to upload it to the new server, use the same steps. Either phpmyadmin to upload or use a cron job. That's JUST for the database. For the files, it's pretty self explanitory. Just download all files via FTP and re-upload to new host.

If you run into any issues, post here and let us know.

Good luck.
 
While changing host I'm always in a hurry to do everything by myself, and even i'm good in doing web sites istill can not deal with database management. If it is the same for you do not move web sites without tech assistance. Taht means to ask the web host about the move and even to pay something to them to do the job for you.
 
As others said, you will have to do a download of the database seperately from your files. Your database is not stored in the same area that you FTP, so you will need to go in to your control panel and do a myqldb backup or go into a program like phpmyadmin and do a backup from there. Than restore it on your new server.

Do ask your new host for help if you don't know how to do it or experiment and learn how to do it yourself for future times you have to move.
 
Back
Top