How do I install the database using phpMyAdmin
From Online Grades Documentation
If you have phpMyAdmin installed and configured to manage your MySQL database, use the following steps to setup Online Grades. (The following information is based on phpMyAdmin version 2.6.1.)
- On the initial phpMyAdmin page, under the "MySQL" heading, the first option should be "Create new database." Enter the name you have chosen for the database and press the "Create" button. (The default database name used by Online Grads is "ogdbuser ".) After pressing the "Create" button, it should say: "Database <your database name here> has been created."
- Click on the home icon (the small house) in the left-side navigation. This will bring you back to your phpMyAdmin home page.
- (Optional) Create new MySQL user. If you already have a MySQL login that you would like to use, you can skip this step.
- Click on the "Privileges" link under the "MySQL" heading.
- Below any existing users listed, click on the link "Add a new User."
- Fill in the details of your new database user. The default username for Online Grades is "ogdbuser" with a password of whatever you choose. Leave the "Host" field set to "Any host".
- From the list of "Global privileges", be sure to select: SELECT, INSERT, UPDATE, DELETE, FILE, CREATE, ALTER, INDEX, DROP
- Click on the "Go" button.
- You should see a page that says "You have added a new user."
- Click on the "Databases" tab at the top of the page.
- From the list of databases on the page, click on the name of the database that you created.
- Click on the "SQL" tab at the top of the page.
- At the bottom of the page, there is an area to upload a SQL file. Click on the "Browse" button and select the onlinegrades.sql file in the Online Grades docs/ directory. Then, press the "Go" button.
- The top of the page should say "Your SQL-query has been executed successfully."
- You have now finished creating the Online Grades database tables.

