Initial
This commit is contained in:
8
docs/progs/mariadb.md
Normal file
8
docs/progs/mariadb.md
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
# MariaDB
|
||||
|
||||
## Create database, user and grand permission
|
||||
```sql
|
||||
CREATE DATABASE dbn CHARACTER SET utf8 COLLATE utf8_general_ci;
|
||||
CREATE USER 'usr'@'localhost' IDENTIFIED BY 'pwd'; GRANT ALL PRIVILEGES ON dbn.* TO usr@localhost;
|
||||
```
|
Reference in New Issue
Block a user