mysql set max connections
show variables like "max_connections";
set global max_connections =5000;
mysql set max connections
show variables like "max_connections";
set global max_connections =5000;
mysql allow remote connections
#open /etc/mysql/mysql.conf.d/mysqld.cnf
#and change
#bind-address = 127.0.0.1
#to
#bind-address = 0.0.0.0
#then grant root all privaleges to root
GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION;
FLUSH PRIVILEGES;
#If you ran above command and accidently
#did not change password for root you can run this:
ALTER USER 'root'@'%' IDENTIFIED BY 'MyNewPass';
MySql.Data.MySqlClient.MySqlException: 'Too many connections'
Too many connections
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us