There is a difference between the php server and the local operation.

the problem is that the php language uses the OneThink (based on TP 3.2) framework to write an administrative background. There is no problem locally. However, the database connection timeout: Connection timed out occurs on the server. The database that timed out the connection is the database of another ip in the configuration. I would like to ask who has encountered this situation or know the reason? It is the same locally, but it can be used normally.

Mar.07,2021

I guess your database uses this kind of LAN IP segment at the beginning of 192.168 ?

too little information can only be guessed.


does the external connection account provided by the database limit the ip or other problems of the connection (the information is comprehensive, but you can't see the problem with this information)

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35bdf-34385.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35bdf-34385.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?