MySQL Operations: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
Line 10: Line 10:


<tt>/var/log/mysql/</tt>
<tt>/var/log/mysql/</tt>
=Data Directory=
<tt>/var/lib/mysql</tt>


=Change Root Password=
=Change Root Password=

Revision as of 04:29, 7 January 2016

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'