One Geek\’s View On…

August 22, 2006

Setting up a Drupal work enviornment on my laptop…Part 3

Filed under: cms, drupal, howTo, LAMP, MacOSX, WebDev — Robbie The Geek @ 9:44 pm

Importing Drupal to MySQLOk the next step is to import the tables and all the guts of Drupal into your newly created database, for MySql 4.1 or higher (MAMP has MySQL5) you will need to import a file called database.4.1.mysql located in the /drupal-4.7.X/database as shown in the picture to the left. It is that simple and you are almost there with your very our sandbox for development. You will have to edit a file in the /{drupal}/sites/default/settings.php and change one line.

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

to whatever the fields are in your environment this is what mine looks like

$db_url = ‘mysql://drupal:drupal@localhost/drupal’;Admin>Settings>File System Settings

This should be the final step to your new drupal install last step is to log in and create your primary (administrative) account for your site. On a side note I have had an issue a few times when you click on Administration>>Settings for the first time that there is an issue with the files folder

Advertisements

Create a free website or blog at WordPress.com.