How to import, export, and create a database in MySQL or MariaDB Create a new database in MySQL or MariaDB First login to MySQL shell or MariaDB in putty using the below command. mysql -u root -p Create new database mysql> create database new_website; Check your database create or not use mysql> show databases; List of all databases will show in tables format. Export MySQL or MariaDB ...