Acess external mysql server (no infinityfree hosted)

i get error when try connect php application to no infinityfree hosted mysql server. the 3306 port is blocked?
the show this error: Unable to connect to the DB
Please, check the connection parameters
SQLSTATE[HY000] [2002] Connection timed out

when i try use in hosted mysql my user don’t have permissions to create view.

All non-standard outgoing ports have been blocked for security reasons, including port 3306. To use MySQL on your website, you have to use our MySQL servers. And if you insist on using MySQL views, you need to upgrade your account.