FreeRADIUS’s init script

December 14, 2007

FreeRADIUS’s init script is located at scripts/rc.radiusd of the source tarball.


How to log each MySQL query

December 13, 2007

To log each and every query executed by MySQL, simply specify “-l” when starting mysqld_safe. For instance:

/usr/bin/mysqld_safe -l ...

All queries will then be logged to <hostname>.log in the data directory (typically /var/lib/mysql).