I have a database where two users are connecting. Both are applications. Now, one of the application always log "Too many connections.." to mysql. So I increased max connections to higher value. After one day, max_connections is limit + 1, so I increased second time. After one day, max_connections is limit + 1. So I tried to set up max_connections to 220 and want to force that both applications has to split connections with setting max_user_connections to 100. But again: used connections is 221 now. In processlist just the two users making connection.
How can I setup mysql to reserve connections for one user?
I cannot use the 'every hour' parameters. It is important that both systems can connect everytime to the database. I am using suse 11 with mysql 5.5.
Regards, Wyphorn
t (aren
t) closing their connections to the server after theyre done. Make sure you end the connection when they
re done with the transactions or that they reuse them instead of creating new ones.