Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: Log Files

From: Christian High <cjhigh(at)gmail.com>
Date: Mon Jul 30 2007 - 13:52:09 EDT


set these options in the option file under the [mysqld] section

log-slow-queries=
log=

log= is the general query log

i am not sure what you mean by the mysql log. if you mean the error log than that would be

log-error=

if you mean the binary log that would be

log-bin=

if you don't enter anything after the = sign then the server will use the default name and location for the logs which is generally "hostname-logtype".log in the data directory. the exception would be the binary log which is still in the data directory but is named "hostname-bin".xxxxxx with xxxxxx being ascending numbers beginning with 000001

Do you need help?X

On 7/30/07, krishna chandra prajapati <prajapatikc@gmail.com> wrote:
> Hi All,
>
> Please tell my how to activate the general log, mysql log and slow query
> log.
>
> Regards,
> Krishna
>

-- 
MySQL General Mailing List
For list archives: 
http://lists.mysql.com/mysql
To unsubscribe:    
http://lists.mysql.com/mysql?unsub=lists@pantek.com
Received on Mon Jul 30 13:53:24 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:29:38 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library