I have a MySQL database which i access through Java JDBC and it works correct in my local network(using localhost
or 192.168.*.*
local adress). But i also want to access it remotely from internet and when i connect to it using my global adress 176.214.186.243
(it is dynamyc adress but it stays still for 2 days of my tries) i get next error com.mysql.cj.jdbc.exceptions.CommunicationsException: 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.
In MySQL workbench i have priveleges showed on Picture(All ot them.
But i still cant connect to database using global IP.
What am i doing wrong?