In this article, we will practice on a Windows machine.
For better understanding, you should follow the video below to install NodeJS on your personal computer.
Similarly, watch this video to install MySQL:
Some notes when installing MySQL:
Once NodeJS is installed, npm will also be included in the package. Check whether NodeJS and npm have been successfully installed using the following two commands:
node -v
npm -v

Search for MySQL Shell in the Windows search bar, then select MySQL Shell.

When opened, you will see the following interface:

Type \sql to switch the Input Mode to MySQL.

Then, connect to the MySQL Server.

If you didn’t create a user during the MySQL installation, you can connect to the MySQL Server using the Root User. In that case, the connection string will be root@localhost, and don’t forget to enter the Root User password you set during installation.
Use the SHOW DATABASES; command to check the result again.

If you get this result, it means you have installed this part correctly and can proceed to the next section.