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