ERROR - ConnectionBus: Opening JDBC connection

0
Hi Readers,   I want to connect MySQL database after deploying docker image of an mendix application on AWS cloud. I am facing this error: ERROR - ConnectionBus: Opening JDBC connection to Some(18.198.71.70:3306) failed with SQLState: 08000 Error code: -1 Message: Could not connect to HostAddress{host='18.198.71.70', port=3306, type='master'}. Host 'ec2-3-76-176-46.eu-central-1.compute.amazonaws.com' is not allowed to connect to this MySQL server Retrying...(2/4)   Please help, how can I solve this.   Thanks and Regards, Harshraj singh
asked
1 answers
2

Hi Harshraj,

Use below url for MySql connection:

jdbc:mysql://server-name:server-port/database-name

eg.: jdbc:mysql://localhost:3306/sql_mendix

 

Hope this helps you

answered