The cause of this problem is:The number of connections exceeds the value set by MySQL. It is related to max_connections and wait_timeout. The larger the value of wait_timeout, the longer the idle waiting time for the connection, which leads to the
Caused by: COM. MySQL. JDBC. Exceptions. jdbc4.mysqlsyntaxerrorexception: User perf_inventory already has more than 'max _ user_connections'
Active connections indicates that the user has reached the maximum number of connections and cannot connect
How to set the number of mysql connections (Too connections) and mysqlconnections
When using mysql, it is found that the number of connections has exceeded ~~~~
[Root @ linux-node1 ~] # Mysql-u glance-h 192.168.1.17-p
Enter password:
ERROR 1040 (0800
1. download MySql
1. download MySql
Open http://www.mysql.com/downloads/mysql/#downloads download in browser
My downloaded version is Red Hat 5 version of http://www.mysql.com/downloads/mirror.php? Id = 407552
Upload the file to the server, or
Mysql too connector connections solution, mysqlconnections
Mysql error prompt too many ons,I recently encountered this error and solved it by checking the information on the Internet. Here I will record it to help friends who need it,
The solution
Set Change root passwordNote: How to change the root password, about the root user is the MySQL Super administrator user, it is similar to the root user inside the Linux operating system, to distinguish between the root of MySQL and the system root
The solution is to modify/etc/mysql/my. cnf and add the following line:Set-variable = max_connections = 500Or add the parameter max_connections = 500 to the startup command.It is to modify the maximum number of connections, and then restart mysql.
The workaround is to modify the/ETC/MYSQL/MY.CNF and add the following line:
Set-variable = max_connections=500
Or add parameters to the startup command max_connections=500
is to modify the maximum number of connections, and then restart MySQL. The
Mysql Error prompted too many connections, recently encountered this error, after the internet to solve the data, here record, to help needy friends,
The workaround is to modify the/ETC/MYSQL/MY.CNF and add the following line:
Set-variable =
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.