<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Mysql on</title><link>https://raze.mx/tags/mysql/</link><description>Recent content in Mysql on</description><generator>Hugo -- gohugo.io</generator><language>en</language><lastBuildDate>Wed, 23 Nov 2022 20:15:54 -0600</lastBuildDate><atom:link href="https://raze.mx/tags/mysql/index.xml" rel="self" type="application/rss+xml"/><item><title>Enable Query Log Mysql</title><link>https://raze.mx/post/enable-query-log-mysql/</link><pubDate>Wed, 23 Nov 2022 20:15:54 -0600</pubDate><guid>https://raze.mx/post/enable-query-log-mysql/</guid><description>&lt;p&gt;Hello people, this time I&amp;rsquo;ll use this blog post a a placeholder for a snippet that is useful when working with My
SQL and specially if you&amp;rsquo;re having trouble understanding behaviours on your database.&lt;/p&gt;
&lt;h1 id="enable-query-log-mysql"&gt;Enable Query Log Mysql&lt;/h1&gt;
&lt;p&gt;There are a couple of options when you want to enable query log on your database, the first one is to use the following configuration:&lt;/p&gt;
&lt;p&gt;For MySQL 5.1.28 and older, edit the &lt;code&gt;/etc/my.cnf&lt;/code&gt; file and in the &lt;code&gt;[mysqld]&lt;/code&gt; section add the following line:&lt;/p&gt;</description></item></channel></rss>