Wedge
Public area => The Pub => Support => Topic started by: Jurien on November 27th, 2014, 07:14 AM
-
Error connecting to MySQL: Too many connections
Too many connections in /home/vsbwepmf/domains/linuxmintusers.be/public_html/forum/MintWedge/gz/app/Class-DB.php on line 55
Too many connections
class-DB.php line 55$connection = mysqli_connect((!empty($db_options['persist']) ? 'p:' : '') . $db_server, $db_user, $db_passwd, empty($db_options['dont_select_db']) ? $db_name : '') or die(mysqli_connect_error());
Is this an server issue or something else,how to tackle or fix this. Forum and MySQL through Control Panel are unattainable
-
In most cases (and almost on GoDaddy and other shared hosters) it's an server issue.
If this machine is dedicated to you, extend the my.cnf with the following code:
Then restart MySQL.
On non dedicated systems make sure that connections are not persistent.