Here is my setup:

----Server - openSuse 11.2 (192.168.0.100)
--------VBox
------------Guest - openSuse 11.2 (Drupal Dev) (192.168.56.102)
------------Guest - openSuse 11.2 (Drupal Pro) (192.168.56.103)

I want my Drupal Pro to point to the MySql database on Drupal Dev. Do I set this in the Settings.php and if so, will the db_url be like this:
mysql://drupaluser:passwd@192.168.56.102/databasename?

Comments

vm’s picture

the syntax can be seen in default.settings.php

Vc Developer’s picture

...or do I need to set the params in the php.ini:

mysql.default_port =
mysql.default_socket =
mysql.default_host =
mysql.default_user =
mysql.default_password =

I tried using the db_url but I get the "Site Closed" page....

vm’s picture

what is a site closed page? please paste here the exact message being given.

of note: in your example in the original post you used: drupaluser as a place holder. You don't use your drupalusername, you use your database username.

Vc Developer’s picture

Cancel that! I was entering the wrong IP... I got it working...