lastConnection property seems to be updated whenever you update configuration of your database thing, regardless of success or failure of a database connection.
I only have an experience with external oracle database but I assume you need to change the configuration of your MySQL server to allow connection from remote clients by a grant command like below;
>>grant all privileges on *.* to YOURUSER@'GSPC130805.test-fuchs.com' IDENTIFIED BY 'YOUR PASSWORD';
Please reference MySQL document and confirm the command.
This is generic error. You will get it if you use any other client too.
Searched for the internet with "is not allowed to connect to this MySQL Server".
Got following Stack overflow link: Host 'xxx.xx.xxx.xxx' is not allowed to connect to this MySQL server - Stack Overflow which suggests that there are some missing permissions. It also provides the commands to be run to grant the privileges.
You may also create a separate user who have all the permissions
After granting the requisite permission; please make sure that isConnected property is true. This will confirm that a successful connection has been made to the database.