PHP Warning: mysql_connect(): Connection timed
#10

Quote:
Originally Posted by Vince
Посмотреть сообщение
This has nothing to do with the OS. Server providers and VPS users alike usually block remote connections from a security point of view. Only the essential ports are opened and the rest are securely closed. Admittedly, if you have a VPS you can whitelist certain IP addresses/ranges, while implicitly blacklisting all the rest.

And a word of caution: the "mysql" PHP extension is deprecated and has been completely removed from PHP 7 onwards. Use PDO or mysqli instead.
I think it from the OS

so thanks bro now i am understanding
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)