• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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