
frederico - 2007-05-31 18:55:54
Hello everyone,
I´m from Brazil and i using your php class MyActiveRecord on my website.
My question is what can be happening with the mysql connection... because after a a couple hours of to many requests on site to mysql... the site freezes and and i get back the ERROR "could not connect to database server" .
I dont know why what could be happening...
The code that return error is the connection :
------------------------------
// connect to database server
$rscMySQL = @mysql_pconnect($params['host'], $params['user'], $params['pass'])
------------------------------
Its was on my own pc, localhost...
Now, i´m affraid to get the website into prodution server...
Can anybody help me with this ?
What info do you need from me to help me solve it ?
Thanks to all
Bye