Create and Manage Databases in MySQL and MariaDB
To begin, sign into MySQL or MariaDB with the following command:
mysql -u root -p
create a database by typing the following command:
CREATE DATABASE new_database;
To view a list of the current databases that you have created, use the following command:
SHOW DATABASES;
by გიორგი ბაკაშვილი
4 years ago
Linux
MySQL
2
Pro tip: use ```triple backticks around text``` to write in code fences