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:


long-query-time = 1

to the [mysqld] or whatever You run

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

after that restart mysql