I am trying to install the jdbc connector for my program, but don't understand how to install it. can someone please guide me through the steps?
thanks.
Printable View
I am trying to install the jdbc connector for my program, but don't understand how to install it. can someone please guide me through the steps?
thanks.
Depends what environment you are using...for command line, see Setting the class path If you use an IDE, look how you can add the library to your classpath.
how about in eclipse? i am using the ide version.
Google is your friend...one of the top hits: FAQ How do I add an extra library to my project's classpath? - Eclipsepedia
still not able to connect...
i noticed this on my server:
Your MySQL databases are stored behind a firewall to protect your data. You can only access each one exclusively through your server. Direct access to your MySQL databases using a home PC (external ODBC connection) cannot be established.
and is this right?: String url = "jdbc:mysql:http://myDBSite.com";
conn = DriverManager.getConnection (url, userName, password);