User Tools

Site Tools


servers:linux:mysql

Information

  • MySQL

Prerequisites

Dependencies

sudo dnf install 'mysql-server'

Service

sudo systemctl enable 'mysqld' --now

Settings

sudo mysql_secure_installation

Verify

mysqladmin -u 'root' -p variables | egrep 'utf8|networking|socket'

Database Repair and Optimization

One-shot

mysqlcheck --user='root' --password --all-databases --auto-repair --extended --force --optimize
/var/www/wiki/data/pages/servers/linux/mysql.txt · Last modified: by 127.0.0.1