How to find out the location of the slow query log file system with php? I would like to do this dynamically using a query (if possible, or another execution method), and not to parse any my.ini files.
run this query:
show variables like '%slow%';