• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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