auto reconnect to db?

Discussion in 'Optigold ISP' started by anastrophe, Apr 3, 2005.

  1. #1
    i'm an expert when it comes to finding new dumb questions to ask. :D

    we're running an older version of optigold ISP (though that should be irrelevant to this query). we have the webserver half down at our colo, but due to various reasons i won't go into, we have to host the db server elsewhere, over a link that has a tendency occasionally to lose connectivity. when that happens of course, the webserver can't talk to the db server, and it closes the scripts.

    is there any way (perhaps a third party script?) to have the webserver automatically attempt to reconnect every XX seconds if the link is broken?

    for the record we're running 3.1.4.
     
    anastrophe, Apr 3, 2005 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    I've not seen anything to do it, although I suppose you could make a script to monitor the "health" and reopen it if necessary.
     
    digitalpoint, Apr 3, 2005 IP