Note: this assignment is a modification of material developed by the Stanford Database Group
For a Mac, after uncompressing the tar file, just copy/move the mysql-connector-java-5.1.29-bin.jar file to /Library/Java/Extensions.
For Windows it should just work after installing. If you have problems please email the TA.
If you are using Eclipse with Java THIS TUTORIAL is useful.
Good (but more than you need) tutorial/documentation
Here are some examples of using JDBC as shown in class:
Note, these examples assume you have created a user account and granted permission to the user for the database being accessed. SQL command line commands to do this are:You are to create a java application using JDBC that makes sense for your PDA. Your application must have two or more SQL commands and user input that allows you to complete a "higher level" problem. Submit a pdf file that includes: (1) a description (in English) of what your application does; (2) your java/sql code; and (3) a script file of the execution of your code that demonstrates that it works.