This commit is contained in:
root
2024-01-27 07:49:05 +12:00
commit d45048e439
17 changed files with 435 additions and 0 deletions

8
docs/progs/mariadb.md Normal file
View 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;
```