Node js TypeScript Fastify EP 07 MySQL Database
In this episode, you will learn how to set up MySQL database using Laragon.
What is MySQL?
MySQL is a database. It stores your data in tables. You will use it to store articles and other information.
What is Laragon?
Laragon is a tool that helps you run MySQL on your computer. It makes it easy to start and manage MySQL.
Step 1 - Install Laragon
First, install Laragon. Follow this video: How to Install Laragon
Step 2 - Start Laragon server
Open Laragon and click the "Start All" button to start the MySQL server.
Step 3 - Open MySQL
Click on the "Database" button in Laragon to open the database manager.
Step 4 - Create a new database
Click on "Database" in the left sidebar
Right-click and select "Create Database"
Step 5 - Name your database
Name your database node_fastify_db and click "OK".
Great! Your database is ready. In the next episode, you will learn how to connect your API to this database.
Originally published by me at the dev to - Akkarapon Phikulsri on DEV Community.








