From the course: Databases for Node.js Developers
Unlock this course with a free trial
Join today to access over 24,400 courses taught by industry experts.
Exploring MySQL with MySQL Workbench - Node.js Tutorial
From the course: Databases for Node.js Developers
Exploring MySQL with MySQL Workbench
- [Instructor] To make working with MySQL easier, and also to explore the data, we will use a graphically user interface. And this is MySQL Workbench. You can download it for your system on the MySQL website. Once you've done this, you can simply open it and it'll present you with this screen. There I now click on the plus icon at MySQL Connections. And here I will now define a connection that's very similar to what we did in MongoDB Compass. I will also call it course, and now we have to provide the connection information. The username is root, and we will also have to provide a password. So that's different to MongoDB, which can default to no password. So here I clicked on Store in Keychain, and there I use secret, this was the password I set when I created this container. I click on OK, then I click on Test Connection. It complains about compatibility, that's not a problem. Everything else looks good. Then I click on OK and I have a new database connection. Now I direct click on…
Contents
-
-
-
-
-
-
(Locked)
Using MySQL for our users and orders1m 8s
-
(Locked)
Setting up MySQL with Docker2m 49s
-
(Locked)
Exploring MySQL with MySQL Workbench1m 57s
-
(Locked)
Introducing Sequelize1m 51s
-
(Locked)
Setting up the database connection7m 43s
-
(Locked)
Designing the database structure2m 1s
-
(Locked)
Creating a user model for Sequelize7m 47s
-
(Locked)
Creating the order models for Sequelize11m 56s
-
(Locked)
Loading and syncing the models13m 5s
-
(Locked)
Creating, updating and deleting users with Sequelize12m 52s
-
(Locked)
Securing credentials with password hashing7m 2s
-
(Locked)
Implementing the user login9m 15s
-
(Locked)
-
-
-