i built a site for a client with cms where he can update its content. when i showed him the cms and explained him how it is working we ran into a problem. on my computer i was logged in to the cms, and when he tried to connect to the cms with his laptop (with another internet-connection) on the same time, we got a "too many databse connections error" of course it was a new site and i guess it was only me and him on it. (probably not too many users) my face became bright white! i want him to have maybe 3 (or more) staff members with access to the cms and update their site content. what am i doing wrong?
How many connections you have allowed on your database? Probably you have wrong setup of connection limit, or wrong SQL edition just for development etc. Also you can forgot close connection. Are you using only one open connection during page load, or more? If more, use only one and don't forget to close it.
that's serious.. i think its on your server configuration.. maybe you have a limited access to the database.
The number of connections allowed is controlled by the "max_connections" system variable. Check its value. Thanks,