mirror of
https://github.com/denisidoro/navi
synced 2024-11-25 13:00:20 +00:00
10 lines
251 B
Text
10 lines
251 B
Text
% mysql, database, db
|
|
|
|
# Create database
|
|
mysql -u <user> -p -e "create database <database> character set UTF8mb4 collate utf8mb4_bin"
|
|
|
|
# Export databse
|
|
mysqldump -u <user> -p <database> > <path>
|
|
|
|
# Import database
|
|
mysql -u <user> -p <database> <path>
|