Renamed mysql.sql to mysql, because the installer doesn't seem to install that cheatsheet when it has the .sql extension.

This commit is contained in:
Chris Lane
2013-08-26 19:21:42 -04:00
parent bf290ea5b7
commit 7886eea791

5
cheatsheets/mysql Normal file
View File

@ -0,0 +1,5 @@
# To create a database in utf8 charset
CREATE DATABASE owa CHARACTER SET utf8 COLLATE utf8_general_ci;
# To add a user and give rights on the given database
GRANT ALL PRIVILEGES ON database.* TO 'user'@'localhost'IDENTIFIED BY 'password' WITH GRANT OPTION;