![]() ![]() String createString = "create table COFFEES " Ĭatch(java.lang. The only difference between my code and theirs is some comments, and that I'm going with MySQL.) //first, import sql package I'm trying to connect to a database called "Coffee." It definitely exists: mysql> show databases ![]() I've placed it in my folder C:\Windows\Sun\Java\mysql-connector-java-5.1.24Īnd I've pointed my Workspace CLASSPATH in JGrasp to C:\Windows\Sun\Java\mysql-connector-java-5.1.24\mysql-connector-java-5.1.24-bin.jar jGRASP is a lightweight development environment, created specifically to provide automatic generation of software visualizations to improve the comprehensibility of software. I'm reading through the JDBC API Tutorial and Reference 3/E (MAN, what a dry tome), and I'm having trouble connecting my Java program to my MySQL database using the MySQL Connector supplied by Oracle. The latest version of jGRASP, as of June 2018, is Release 2.0.404.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |