Home > database >  To solve the mysql connection problem
To solve the mysql connection problem

Time:04-30

questions as follows:
Script 1. The content of the sh, 16 concurrent queries 1000 times, the connection error, but in a Linux server performs the script can
for i in {1.. 16}
Do
{
J=1
While [$1000] j - le
Do
Mysql - uxxx - PXXX - h158.222. XXX. XXX - P3306 - Ne "select 1;"
Let j++;
The done
} & amp;
The done


Everyone a great god, is this problem of mysql or Linux, if is a problem of Linux, is something wrong
Have already cleared the Linux's Max user the number of the processes and mysql connection problem
  • Related