Saturday, November 22, 2008

Titanium Pins In Creamtion

attacker

The procedure consists of four steps:


Move the drupal directory
Import the database drupal on the new machine

Update your sites / nome_sito / settings.php
  1. Assuming you work with mysql and that the name of database is 'drupal', so we export:
  2. mysqldump - add-drop-table-u-p drupal mysqlusername> drupal.sql

mysqlusername
is where the user you are using to access the DBMS.
After copying the files to the new machine, simply import the following command:
 
mysqlusername mysql-u-p drupal If you work remotely, you must specify the host address using the parameter-h host

, in both cases.

Finally we open the settings.php file and change the parameters to connect to MySQL, so as to adapt to the new system.
 < drupal.sql

0 comments:

Post a Comment