I created a mySQL database on 000webhost and I wanted to connect it into my Java program but somehow driver aren\'t receiving sockets. Here is my code:
Class.for
As the javadoc for the DriverManager#getConnection() method says:
DriverManager#getConnection()
Attempts to establish a connection to the given database URL.
Therefore, remove the Users table name from the provided URL and it should work.
Users