1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

connecting to a remote DB

Discussion in 'Plesk for Linux - 8.x and Older' started by nitzan_karni, Mar 2, 2006.

  1. nitzan_karni

    nitzan_karni Guest

    0
     
    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?
     
  2. michaellunsford

    michaellunsford Regular Pleskian

    25
    90%
    Joined:
    Jul 25, 2005
    Messages:
    131
    Likes Received:
    0
    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.
     
Loading...