jmansa — 2012-08-19T15:48:10-04:00 — #1
I have a mysql database on a dedicated server and are using it for a smartphone game to handle my data. The thing is that it is getting quite popular and I have many requests on the the database so sometimes it comes with a "To many connections"? How should i handle this? I use mysql_close(); on every php page I use, but still got the problem...
Please help and thanks in advance
spacephoenix — 2012-08-19T16:05:33-04:00 — #2
Are you setting up mysql_connect() or mysql_pconnect() ?
In any case you should consider migrating over to using either PDO or the mysqli extension
jmansa — 2012-08-19T16:38:50-04:00 — #3
Using mysql_connect(). Is it easy to migrate and why is that a good idea?