Easyswoole connection to Tencent Cloud database timeout or DNS resolution error

Coincidentally, Tencent Cloud Database, the external network address is followed by a port number, but there is also a port 3306 on this message, I always thought that the port is 3306

 In the easyswoole configuration, the port number 15 must be set

 

My database address was previously set with the port number ': 15', but the result is an error, DNS resolution error, easyswoole should not support the address form with port number

So remove the port number, and then manually set the port number setPort (15).

Guess you like

Origin www.cnblogs.com/YC-L/p/12729806.html