Learning Goal: I’m working on a mysql multi-part question and need an explanation and answer to help me learn.
The followings are the supplemental video links. These videos can help with setting up the environment.
1) For installing install MySQL community server and MySQL workbench.
Please remember the user-id, password, and port number. You will need this later in the assignment.
In the video, it was mentioned that you have to run the MySQL service otherwise you can not connect to the database.
2) create the schema/database instance.
3) upload the SQL(JDBCLabInit.sql) provided in the assignment into that schema.
After uploading the data, right-click on the schema and refresh it. Expand the “tables” and you should see all the tables(mentioned in JDBCLabInit.sql) are created. Right-click on any of the tables and fetch data. Check whether all the data is populated or not.For example,
JDBCConnectionMetadata.java contains sample code for connection from java to MySQL.
4) Now for the assignment, You need to create and submit the following files. (Please check JDBCLab.docx)
JdbcLabEC.java (optional extra credit)
JdbcLab2.xsd (optional extra credit)
Each file should have the main method and connection code along with the activity code mentioned in JDBCLab.docx. Check this link for running a java file from the command prompt.
3) Check the connection between java and MySQL using the driver(mysql-connector-java-5.1.45-bin.jar).
Delivering a high-quality product at a reasonable price is not enough anymore.
That’s why we have developed 5 beneficial guarantees that will make your experience with our service enjoyable, easy, and safe.
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.Read more
Each paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.Read more
Thanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.Read more
Your email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.Read more
By sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.Read more