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

On 7/30/07, krishna chandra prajapati <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED]

Reply via email to