create dumb from database mysql code example
Example 1: mysql dump restore
mysql -u [user] -p [database_name] < [filename].sql
Example 2: mysql create database
CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
mysql -u [user] -p [database_name] < [filename].sql
CREATE DATABASE mydatabase CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;