Updated log files locations (markdown)

ghost-from-the-past 2021-04-28 11:41:33 +02:00
parent f2209564c6
commit b69f4c08f3

@ -20,7 +20,24 @@
<p>
<br/>
</p>
<h2>MySQL database servr logs</h2>
<h2>MySQL database server logs</h2>
<p>error log, slow query log and general query log : text format.</p>
<p>The binary, relay, and DDL logs are all binary in format, and they are designed for use primarily by MySQL itself, specifically for tasks such as server replication and data recovery</p>
<p>log settings are managed via a user-editable configuration file such as /etc/mysql/mysql.conf.d/mysqld.cnf</p>
<p>possible places of the cnf file</p>
<ul>
<li>/etc/my.cnf</li>
<li>/etc/mysql/my.cnf</li>
<li>$MYSQL_HOME/my.cnf</li>
<li>[datadir]/my.cnf</li>
<li>~/.my.cnf</li>
</ul>
<p>
<br/>
</p>
<p>typically</p>
<p>error.log or mysqld.log in /var/log/ or var/log/mysql/</p>
<p>data directory typically /var/lib/mysql/ will serve as the default destination for any logs that are enabled without an alternate path</p>
<p>
<br/>
</p>