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)

Menu