how to connect mysql database to my java app
I am trying to deploy a java app on my droplet.
but the matter is how can i connect my mysql database with my java app.
and how do i know, whether my database is connected to my app or not?
i am using tomcat.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×