When accessing a MySQL server/database in Plesk from a remote machine, one of the following error messages appears:
SQLSTATE[HY000]  Connection refused
Lost connection to MySQL server at 'reading initial communication packet', system error:61
Fatal error: Uncaught mysqli_sql_exception: Connection refused
MySQL is configured to listen on localhost address only.
Configure a remote MySQL access according to this KB article.