Loggly, Inc.

Welcome, Guest Login

Support Center

Logging from MySQL

Last Updated: Aug 28, 2013 03:33PM PDT

For MySQL 5.1.20 and up, edit your server's my.cnf file (usually located in /etc/), add these two lines:

[mysqld_safe]
syslog

Restart MySql by running the following command in a shell:

/etc/init.d/mysql restart
Once you're logging to Syslog, you can follow instructions on logging using your standard syslog agent:
Logging From Unix Systems
Logging From Windows Systems

Contact Us

logglyassistly@zoho.com
https://cdn.desk.com/
false
desk
Loading
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
about
false
Invalid characters found
/customer/en/portal/articles/autocomplete