![]() |
MySQL server question
I got a PHP script running, I wanna know what SQL commands it executes on a certain DB on the MySQL server to figure out that the algo its ranking the thumbs.
Any MySQL option to log every single SQL query? |
yeaasssss
|
huh... KILLA KILLA THE DOPE MAKES TEH SKRILLA
|
not sure if this will do what you want, by the
mysqladmin extended-status will show what's running in the mySQL environment. actually, there's a bunch of options with "mysqladmin" from the command line to see what's going on at a certain point. about automating it, i'd guess modify the PHP script and log what it's doing. *shrug* |
Quote:
|
add to mysql option :
--enable-logging this will create hostname.log in your datadir with all mysql queries |
Quote:
Quote:
|
Quote:
|
All times are GMT -7. The time now is 12:43 AM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123