Database driver jar file mysql
What do you mean "nothing is happening"? What have you done to debug? Are you sure you're even getting in the method? Is an exception thrown? Can your jar find the database driver "sun. It should not be used anymore nowadays. JBNizet i'll take note of it. Add a comment. Active Oldest Votes. Improve this answer. Sanyam Goel Sanyam Goel 2, 19 19 silver badges 38 38 bronze badges.
Just by typing java -jar app. But what do i have to do to make it work just by double clicking on it? When you double-click the jar, does the application start at all? If you want to make it work on double click one option is to create a packaged jar that contains supporting jars also.
AH YEA, i'll take note of that. Complete MySQL 4. Placed in the public domain to allow use without fear by proprietary driver developers.. It supports data mining on memory database, compressed database. JAR ,. One- JAR TM is a simple solution to a vexing problem in Java: how to distribute an application as a single jar - file , when it depends on multiple other jar -files.
Anyone know the official not malware site way to get hold of the mysql jar? It seems bizarre that its so hard to find. Download zip file and extract it, with in that you will find mysql-connector-XXX. This section does not apply for versions prior to the 4. Search for:. Key Features: - Direct Connection. That improves performance of your applications, their quality, reliability and especially the deployment process, since there is no need to supply additional client software together with your application.
The driver installations are available for various operational systems and platforms. Ready to get started? Click New to open the Create New Driver form. In the Driver Name box, enter a user-friendly name for the driver. To add the. In the create new driver dialog that appears, select the cdata. This will automatically fill the Class Name field at the top of the form.
The class name for the driver is cdata. Add jdbc:mysql: in the URL Template field. In the Databases menu, click New Connection.
0コメント