mirror of
https://github.com/denisidoro/navi
synced 2024-11-28 22:40:19 +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>
|