Fix $database typo in mysql cheatsheet (#26)

This commit is contained in:
Denis Isidoro 2019-09-21 17:32:35 -03:00 committed by GitHub
parent fd9d9974e7
commit 6d971008dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
% mysql, database, db
# Create database
mysql -u <user> -p -e "create database $database character set UTF8mb4 collate utf8mb4_bin"
mysql -u <user> -p -e "create database <database> character set UTF8mb4 collate utf8mb4_bin"
# Export databse
mysqldump -u <user> -p <database> > <path>