What is a Database? think it as a Folder it acts as a container on other hand tables are file found inside the folder.
How to Create a DATABASE in MySQL
Head into query windows which is large windows in the mysql workbench.and type this
CREATE DATABASE myDB;
and then execute the command by clicking “⚡️” icon above the query window.
to use the database we just created, u can type this command and execute :
USE database_name;
and then, to delete Database :
DROP DATABASE myDB;
READ-ONLY DATABASE
ALTER DATABASE myDB READ ONLY = 1;
If you wanna turn off read only mode replace “1” with “0”.