User Tools

Site Tools


servers:mariadb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
servers:mariadb [2020/04/24 10:23] – [Settings] Sean Rhoneservers:mariadb [2021/06/14 11:29] – Fedora Sean Rhone
Line 6: Line 6:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-  * [[distros:ubuntu_server|Ubuntu Server]]+  * [[distros:fedora_workstation_gnome#server|Fedora]]
  
 ====== Settings ====== ====== Settings ======
Line 12: Line 12:
   * Settings being done before installation is intentional   * Settings being done before installation is intentional
  
-  sudo -'/etc/mysql/mariadb.conf.d/custom.cnf'+  sudo mkdir -'/etc/my.cnf.d' && sudo -e '/etc/my.cnf.d/custom.cnf'
  
 <code> <code>
Line 28: Line 28:
 expire_logs_days = 7 expire_logs_days = 7
 max_binlog_size = 100M max_binlog_size = 100M
-skip-networking = On</code>+skip-networking = On 
 +table_definition_cache = 1400</code>
  
 ==== Verify ===== ==== Verify =====
Line 40: Line 41:
 **** ****
  
-  sudo apt install 'mariadb-server'+  sudo dnf install 'mariadb-server'
  
 ====== Initial Setup ====== ====== Initial Setup ======
Line 79: Line 80:
 Type=oneshot Type=oneshot
 ExecStart='/usr/bin/mysqlcheck' --defaults-extra-file='/var/lib/mysql/auth/maintenance' --auto-repair --optimize --all-databases --force ExecStart='/usr/bin/mysqlcheck' --defaults-extra-file='/var/lib/mysql/auth/maintenance' --auto-repair --optimize --all-databases --force
-ExecStartPost='/bin/sync'</code>+ExecStartPost='/usr/bin/sync'</code>
  
 ===== Timer ===== ===== Timer =====
Line 109: Line 110:
 **** ****
  
-  /var/run/mysqld/mysqld.sock+  /var/lib/mysql/mysql.sock 
/var/www/wiki/data/pages/servers/mariadb.txt · Last modified: 2024/03/06 21:01 by Sean Rhone