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

4 Comments »

  1. Holla,
    very good intro and how to..
    Thank
    Obrigado

    Comment by visitfogo — September 13, 2006 @ 9:58 am

  2. I’ve done everything, it keeps saying that the settings file has to be changed. Is it needed BBedit to edit it? I have done the job with TextEdit. Thanks.

    N.

    Comment by Nostromo — September 24, 2006 @ 1:54 pm

  3. There is no need to use any specific program to edit the file, just a standard text editor of your choice.

    Like I said in the email please email the file and the information and I will see if we can figure it out together 🙂

    Robbie

    Comment by Robbie The Geek — October 2, 2006 @ 5:43 pm

  4. With Drupal 5.0, follow the instructions in INSTALL.txt instead of using these. You will find that pointing to the root of your new installation will start the install script, which will make the settings.php file for you.

    Typically, you’ll get to the root of your site by going to localhost:8888/ unless you’ve changed the ports.

    Comment by Andre Angelantoni — January 25, 2007 @ 11:30 pm


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: