Migrate Drupal Installation from Desktop to Server

Well it is very easy to migrate drupal site which you have in your computer using WAMP. Just need to follow the following steps.

1> You will have to upload all the files of drupal from your computer to your webspace using ftp client i.e filezilla or cuteftp etc…
2> Then login to cPanel >> go to Mysql databases >> create new database and database user and add database user in to database.
3>Create database backup of your local computer in .sql format.
4> Then go to phpmyadmin in cpanel and import .sql file in to the database that you have just created.
5> Here is the main important part now.  You will have to edit following line in to settings.php file as specified below.

$db_url = 'mysql://username:password@localhost/databasename';

Source: http://www.servertechs.net/how-to-migrate-drupal-site-from-your-local-computer-to-the-server.html

Published: 2011-08-12
Updated: 2020-07-15
Category: Technology
Read Time: 0 minute(s)