servers:linux:mariadb
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
servers:linux:mariadb [2025/07/16 12:55] – [Settings] Sean Rhone | servers:linux:mariadb [2025/07/16 13:15] (current) – Sean Rhone | ||
---|---|---|---|
Line 7: | Line 7: | ||
* [[linux: | * [[linux: | ||
- | |||
- | ===== Resources ===== | ||
- | |||
- | * https:// | ||
- | * https:// | ||
====== Settings ====== | ====== Settings ====== | ||
Line 64: | Line 59: | ||
sudo mariadb-check --optimize --all-databases --force --extended --auto-repair | sudo mariadb-check --optimize --all-databases --force --extended --auto-repair | ||
- | ===== Create MySQL User ===== | + | ===== Service ===== |
+ | |||
+ | ==== Create MySQL User ==== | ||
sudo mariadb | sudo mariadb | ||
Line 76: | Line 73: | ||
EXIT | EXIT | ||
- | ===== Authentication File ===== | + | ==== Authentication File ==== |
- | sudo mkdir -p '/ | + | sudo mkdir -p '/ |
< | < | ||
[mariadb-check] | [mariadb-check] | ||
user=maintenance | user=maintenance | ||
- | password=x</ | + | password=x |
- | ===== Service | + | # End</ |
+ | |||
+ | ==== Service ==== | ||
sudo -e '/ | sudo -e '/ | ||
Line 95: | Line 94: | ||
Type=oneshot | Type=oneshot | ||
ExecStart='/ | ExecStart='/ | ||
- | ExecStartPost='/ | + | ExecStartPost='/ |
+ | |||
+ | # End</ | ||
+ | |||
+ | ==== Timer ==== | ||
- | ===== Timer ===== | + | * Weekly |
sudo -e '/ | sudo -e '/ | ||
Line 111: | Line 114: | ||
[Install] | [Install] | ||
- | WantedBy=timers.target</ | + | WantedBy=timers.target |
+ | |||
+ | # End</ | ||
====== Notable Commands ====== | ====== Notable Commands ====== | ||
Line 125: | Line 130: | ||
**** | **** | ||
- | /var/lib/ | + | /run/ |
/srv/www/wiki/data/attic/servers/linux/mariadb.1752684935.txt.gz · Last modified: by Sean Rhone