Mysql driver problem?

I have a problem to make a connection with a MySQL database. I can make a database connection with Microsoft excel to the Mysql server but not with Ignition. The username, database name, port number and password are all OK. I have installed the latest mysql driver 8.0.2 but it didnt fix the problem.

I am getting this error:

Cannot create PoolableConnectionFactory (Communications link failure The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)