Skip to content

Fix – Internal error mysqli sql_exception: Too many connections by StarLicense

Assalamualaikum ,

Welcome to StarLicense Originals. In this article, you will find a perfect solution for too many connection issues from MySQL. Follow the Video & instructions to solve

Instructions:

# CSE installation command for servers
cd /usr/src
rm -fv cse.tgz
wget https://download.configserver.com/cse.tgz
tar -xzf cse.tgz
cd cse
./install.sh


Instructions:-
# Check mysql connection’s current value:
mysql -e "show variables like 'max_connections'"

# Go to this file in your server to edit:
/etc/my.cnf

# Put this code at the bottom inside my.cnf and replace with the higher value than current value:
max_connections=high_than_current_max_connection

Video

Star License (SLS)

Share this post on social