Project part 1

2 years ago
21

The website root user has a username “root” and password “pass1234” (Note this is a different root – it is for your website, not a user for the underlying MySQL database system). For the root user, implement a button called “Initialize Database”. This button will only be displayed after the root user signed in successfully. Each time the root user clicks the “Initialize Database” button, the following events will happen: 1) delete all existing tables (probably 5-10 tables) in the database automatically, 2) create all tables necessary for this project; and 3) each table will be inserted with at least 10 realistic tuples (which is hard-coded in your Java program). Each time we test your project, we will click this button first and then go from there.

Loading comments...