Home > database >  PHP to connect MYSQL in each socket address (protocol/Internet address/port) allows you to use only
PHP to connect MYSQL in each socket address (protocol/Internet address/port) allows you to use only

Time:09-20

Is currently php5.5 environment, server is win2008, mysql database of tencent, PHP performs the following statements accidental error:


An error content is: Warning: mysqli_connect () usually each socket address (protocol/Internet address/port) allows you to use only one time,

Has appeared before the error, I on the server in the registry, MaxUserPort set to 65543, improvement over a period of time, now appeared the question, don't know where is not set, the experienced brothers please help give a train of thought,

Tencent has said the database over there is there is no limit to the number of TCP connections

CodePudding user response:

Is likely to be connected not released, the local port number fill up,

CodePudding user response:

reference 1st floor tq1086 response:
is likely to be connected is not released, the local port number fill up,

PHP connection release problems should not? Script runs over will automatically shut off, still need to manually perform mysql_close ()?
  • Related