• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/
  • On Plesk for Linux mod_status is disabled on upgrades to improve Apache security.
    This is a one-time operation that occurs during an upgrade. You can manually enable mod_status later if needed.

connecting to a remote DB

N

nitzan_karni

Guest
I am trying to connect to a remote database.
I have set the databse server in the call mysql_connect("localhost", USER, PASSWRD); from localhost to the name of the remote database server.
However, when I run the site it appear that apache@localhost is trying to connect to a local database…
How can I connect to a remote databse?
 
This really isn't a plesk question... you might try another forum.

for PHP and mysql questions like this, I usually post on phpfreaks.com

Sorry that I don't know the answer to your question.
 
Back
Top