how to connect to mysql from java

February 9, 2018 102 views
Java MySQL Ubuntu 16.04

Hi,
I need to connect to mySQL from java I don't know what's code I need to write_
it's different between localHost database and ssh database. Can I connect to my database from java application ?

Be the first one to answer this question.