Class.forName('org.postgresql.Driver'); However, since I am new to postgreSQL I have no idea where I should be putting this line, or if this is even correct. My question is, short of moving the jar file to this location, what do I actually need to do in order to install the JDBC driver on my postgreSQL installation? Mar 02, 2011 What piqued my interest in the JDBC driver were two blog posts: Improving experience for Java developers with Windows Azure and JDBC 3.0 for SQL Server and SQL Azure Available. The latter post highlights SQL Azure connectivity using JDBC while the former post highlights the Windows Azure Starter Kit for Java. JDBC drivers are also included as a part of the installation. Install Database Drivers. The latest JDK includes a JDBC-ODBC Bridge driver that makes most Open Database Connectivity (ODBC) drivers available to programmers using the JDBC API. Now a days, most of the Database vendors are supplying appropriate JDBC drivers along with Database.
Active4 years, 5 months ago
I have downloaded the JDBC driver for MySQL 'mysql-connector-java-gpl-5.1.26.msi' from http://dev.mysql.com/downloads/connector/j/. But i can't figure out how to use it. The documentation at http://dev.mysql.com/doc/refman/5.6/en/connector-j-binary-installation.html says it is a zip file which has the required jar file. But what i got is a .msi file. When i execute the msi file it just starts installing and disappears. Any ideas how i can get the jar file from the msi?
![]()
1,97755 gold badges3030 silver badges5353 bronze badges
3 Answers
The msi installation places the file at
C:Program FilesMySQLMySQL Connector Jmysql-connector-java-5.1.26-bin.jar . Toggle app download mac.
Cloudera Jdbc Driver Install Windows![]()
Mp3 converter for mac itunes. Epson printer drivers windows 7. You can also download the platform independent zip file and extract the jar file whereever you want.
jamesallmanjamesallman
33.9k88 gold badges5151 silver badges6767 bronze badges
I had the same issue with the installer. use the drop down menu under Select Platform:, and select Platform Independent. If you don't know how to use a TAR archive, download the zip file, unzip and there is the .bin file. For eclipse, drop this into the project directory, find the file, right click, and build path. This method may cause issues if you download a java update.
BigDataBigData
You can directly used it from C:Program FilesMySQLMySQL Connector Jmysql-connector-java-5.1.26-bin.jar after installing the msi. If you are using IDE like Netbeans and Eclipse just go to your project then right click the Libraries folder then click add jar option then go the mysql connector directory and then select the mysql connector jar file.
Lazy CoderLazy Coder
Install Mysql Jdbc Driver Windows 7protected by Community♦Feb 13 '14 at 16:07Install Jdbc Odbc Driver Windows 10
Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).
Would you like to answer one of these unanswered questions instead? Install Jdbc Driver Windows OracleNot the answer you're looking for? Browse other questions tagged mysqljdbc or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |