Connect java app with mysql database
I recently created a droplet(Linux with phpmyadmin in it). I'm trying to connect it with a java application but i get an error (Communications link failure) . Can anyone help me? How can i connect my java application with mysql. Should i create a web service or is it possible with an odbc driver?