Community & Support

Access a database on another server? Is it possible?

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!

Comments

=-=

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?

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

Require professional Drupal CMS design and development?
Contact our London based, Drupal experts: hello [at] fixdit.com

=-=

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

nobody click here