Hi…
I’ve a problem with MySQL remote access…
I’ve created in Webmin a rule that allow access from all ip (to try) to 1 database, but when i try to connect with PHP from other website, I receive this error:
PHP Warning: mysqli::mysqli(): (HY000/2002): Connection timed out in /home3/xstuttoi/public_html/exportProducts.php on line 9
I can think of two possible problems off the top of my head. Is mysql listening on your external IP address? Usually it is only set to listen on 127.0.0.1. You can check in Webmin->Servers->Mysql Database Server->Mysql Server Configuration->Mysql server listening address. Changes here usually require you to restart the mysql service.
Also, perhaps you haven’t opened the port on your firewall?