Access a database on another server? Is it possible?

BeechyBoy - July 3, 2009 - 18:12

In the $db_url can you specify a separate server IP address to access a database that isn't the 'localhost'
Example: $db_url = 'mysqli://username:password@IPAddressORwebaddress/database';

Let me know any solutions/ ideas,
Cheers!

=-=

VM - July 3, 2009 - 18:17

I believe the answer to this is yes, if the database allows remote connections.

ex: if trying to connect drupal to a database server on a separate host.

Am I right about the syntax?

BeechyBoy - July 3, 2009 - 20:59

Am I right about the syntax? Is there anythingbelse I need to try?

Looking for a Drupal developers? http://www.fixdit.com
ashleydavison [at] fixdit.com

=-=

VM - July 3, 2009 - 22:22

yes that is where you would add the location of the database.

 
 

Drupal is a registered trademark of Dries Buytaert.