Compare commits
No commits in common. "33777b159ccd1cb451b00b62fb5ced54a3e65362" and "5057569fc4aad14feab16db362f553e4b9cd05ec" have entirely different histories.
33777b159c
...
5057569fc4
2 changed files with 0 additions and 24 deletions
|
|
@ -1,23 +0,0 @@
|
|||
---
|
||||
title: MariaDB
|
||||
description: MariaDB server information
|
||||
icon: simple/mariadb
|
||||
---
|
||||
|
||||
## Databases
|
||||
|
||||
| Database | Address | Port | User |
|
||||
| ----------- | ----------- | ---- | ----------- |
|
||||
| pterodactyl | 10.10.10.52 | 3306 | pterodactyl |
|
||||
***All passwords stored in KeePassXC database.***
|
||||
|
||||
## Cheatsheet
|
||||
|
||||
| Usage | Command
|
||||
| :-------------------------------------------------------------|:-------------
|
||||
| Open mariadb | `sudo mariadb -u root -p`
|
||||
| List all databases | `show databases;`
|
||||
| Create a database | `CREATE DATABASE database;`
|
||||
| Create a user with a password | `CREATE USER 'username'@'localhost' IDENTIFIED BY 'password';`
|
||||
| Grant all permission of a database to user | `GRANT ALL ON database.* TO 'user'@'localhost';`
|
||||
| Flush privileges | `FLUSH PRIVILEGES;`
|
||||
|
|
@ -55,7 +55,6 @@ nav:
|
|||
- Knowledge Base:
|
||||
- knowledge-base/index.md
|
||||
- Bootable Windows USB: knowledge-base/bootable-windows-usb.md
|
||||
- MariaDB: knowledge-base/mariadb.md
|
||||
- media-stack: knowledge-base/media-stack.md
|
||||
- PostgreSQL: knowledge-base/postgresql.md
|
||||
- Plex User Guide:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue