MySQL Operations

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Logs

/var/log/mariadb/

/var/log/mysql/

Data Directory

/var/lib/mysql

Change Root Password

/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h now510.local password 'new-password'

Command Line Client

mysql Command Line Client