Thank you for your answer, I changed the hostname but I still can not connect. I added the access host "%" and my own public ip to thw access hosts, is that enough to enable the remote MySql?
I am not able to connect to the database remotely. Am I using the right details?
Database url string: jdbc:mysql://padje.heliohost.org:3306/padje_spieladb
User: Cpanel username
Password: Cpanel password
I copied the username and password directly from my password manager so I am quite sure that is not the problem. When trying to connect I get this exception:
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: Could not create connection to database server.