If your installing Drupal (even on localhost) if you get stuck on the Database Configuration page open ./sites/default/settings.php and change the $db_url variable to your database settings.

Depending on the type of database your using this is what your variable will look like.
$db_url = ‘mysql://username:password@localhost/databasename’;
$db_url = ‘mysqli://username:password@localhost/databasename’;
$db_url = ‘pgsql://username:password@localhost/databasename’;

In the case of my localhost install that line would be:
$db_url = ‘mysql://root:root@localhost/drupal’;

Drupal being the name of my database. Username and password are always root with mamp.


Leave a Reply




XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Free Wordpress Themes

Simple and easy to adjust for your needs.

How to:

Write your own wordpress theme. Everything you need to know.
The Real Me
If you wish to know more about the real Nnax, then please Register.

Don't worry, all the goodies are public!

Already registered? Log in
Categories
Recent Comments

Ford: yess!! seriously exactly what i needed. Why doesn’t it say that in the instructions?

Andy: This is fantastic! just what I was looking for. However, the pipe only seems to work properly for my main...

Britney: That looks yummy. Only one meal a day though? Why is that? I eat 2 meals a day usually, with snacks in...

Kelly: That looks delicious!

Holly: Yum. That looks seriously amazing.

Popular Posts
Subscribe
 RSS Feed

Or via email:


Follow eruANNA