Forum Moderators: coopster

Message Too Old, No Replies

mySQL Server Sometimes Refusing Connection

mySQL Server Sometimes Refusing Connection

         

AdamAGB

11:39 pm on Feb 12, 2005 (gmt 0)

10+ Year Member



Hi,

My site is setup on two servers. One to serve apache and the other is a database server.

However, if you keep refreshing the site, sometimes it gives a mySQL server connection error, sometimes it connects fine.

Our chief technologist is away right now so I'm stuck...does anyone have any ideas?

Thanks!

-Adam

[edited by: jatar_k at 5:30 pm (utc) on Feb. 13, 2005]
[edit reason] removed url [/edit]

hakre

3:15 pm on Feb 13, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



please check the error message mysql is giving. mysql_error should do that for you.

i think this is about too many connection, maybe even permanent connection (the ones that stay open), you woldn't even need (mysql_pconnect). but that's only an idea.