Retrieving Records From a Table With Queries in MySQL
MySQL·1 min read·Jan 1, 2025
Before diving into this lesson and the following ones, you will have to perform some basic setup on your database server.
💡 Tip: Once logged in, you can directly copy the following SQL statements, paste them into the MySQL client interface, and press the
ENTERkey to execute them.
-
Log in to the MySQL client the
rootaccount:$ mysql -u root -
Once logged in, create a new database named
learnbackend:CREATE DATABASE learnbackend; -
Select the database:
USE learnbackend;