mirror of
https://github.com/cheat/cheat.git
synced 2024-11-16 17:08:29 +01:00
5 lines
No EOL
257 B
Text
5 lines
No EOL
257 B
Text
# 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; |