I am working on a small project but very important one for school, and I want to link my public database to the software using
jdbc. I am getting connection error to the database!
I have started my project in localhost and it worked just fine.
PS: I am using, also, mysql-connector-java-8.0.15.jar and Hibernate.
I am using this method for the connection:
I can't show you the host ofc but I'll provide the format that I used and I am sure that it is the correct format.
I am excepting a normal connection to the database but, unfortunately, I can't!