Getting Started
Notes:
- Download the MySQL Workbench from here: https://dev.mysql.com/downloads/workbench/. Make sure that you download just the Workbench installer and not the MySQL installer (sometimes shown under recommended downloads), which contains other software besides the Workbench as well that you do not need and will only be confusing.
- Install the MySQL Workbench.
- Create a new connection by clicking on the little plus at the top right next to MySQL Connections.
- Use
db.it.pointpark.eduas hostname (instead of127.0.0.1). - Use your Point Park username as username (instead of
root). - Use the database password you received by email.
- You do not have to create a new database because you already have one (same as your username). So skip 1:35 to 2:10 in the video.
- You should import the
Cape Codddatabase instead of theHSDdatabase. You can download the files from the Blackboard.
Reverse Engineering
Notes:
- You should reverse engineer the
Cape Codddatabase instead of theHSDdatabase. - Writing
JOINqueries is a bit more advanced but you can certainly watch it.
Database Design
Notes:
- One additional step is needed around second 20. You have to right click on
mydb, selectEdit Schema, and then change theSchema Nameto your Point Park username. - In your designs you can stick to the relationships that use the dashed lines.
Forward Engineering
Notes:
- Instead of the
mydbdatabase you will use the database that carries the same name as your username. - When you update your design and want to recreate your database do not forget to delete your tables first.