How do I CREATE General Query and Slow Query Log

I am searching for details on how to create the mysql. tables for logging in 5.0.45

Hoping someone can help.

in my.cnf (/etc/mysql/my.cnf) or my.ini (c:\windows) add:

[B]Quote:[/B]

long-query-time = 1
log=/var/log/mysql/query-log
log-slow-queries=/var/log/mysql/slow-query
log-queries-not-using-indexes

to the [mysqld] or whatever You run

under Windows second and third line should point to the c:\something\

after that restart mysql