tags:

views:

120

answers:

1

How can I discover the filesystem location of the slow query log from php? I'd like to do this dynamically through a query (if possible, or some other runtime method) as opposed to parsing any my.ini files.

+1  A: 

run this query:

show variables like '%slow%';
longneck
Worked like a charm, Thanks!
Mike B