Skip to content
Snippets Groups Projects
Commit 493d9c39 authored by xurizaemon's avatar xurizaemon Committed by GitHub
Browse files

Add details for MySQL query log

parent 954ab852
No related branches found
No related tags found
No related merge requests found
......@@ -84,11 +84,17 @@ The following values can be added to your site's settings file `civicrm.settings
## Viewing a query log from MySQL
Outside of CiviCRM, the MySQL database software has features to enable the logging of all queries it receives.
Outside of CiviCRM, the MySQL general query log allows MySQL to log all queries. This is a performance killer, so avoid using it in production!
*TODO: how do we enable?*
* [MySQL reference: General Query Log](https://dev.mysql.com/doc/refman/en/query-log.html)
The relevant settings are:
# Location of the query log
general_log_file=/tmp/mysql.log
# Enable/disable the query log
general_log=1
# oops, a typo
## Changing source code
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment