What is the best way to minimize number of connections?
问题 My host has a really, really low number of max connections for a database user. This is the error my users are getting: User 'username_here' has exceeded the 'max_user_connections' resource (current value: 15). I don't think it's in my power to raise that value, unless I upgrade to a much more expensive plan, so I'm looking for a way to use these 15 connections effectively. My way of handling connections is the following: I connect to the database in a script I load at the start of every page