MySQL connection refused on account if0_41261283

Website URL

https://maxmidiass.wuaze.com

Error Message

mysqli_sql_exception: Connection refused

The website PHP works, but the application cannot connect to MySQL.

Other Information

Account: if0_41261283
MySQL host: sql113.infinityfree.com
Database: if0_41261283_smmfree
MySQL user: if0_41261283
Port: 3306

phpMyAdmin is accessible, but PHP mysqli from the website returns Connection refused. Please check the MySQL server or account configuration.

@maxmidiass

You need to fix your code