Get MySQL location of slow query log via PHP

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.

+7
php mysql
source share
1 answer

run this query:

show variables like '%slow%'; 
+13
source share

All Articles