php - View SQL queries -
i on wamp configuration. there way within wamp or package allow me see sql queries fired php mysql server.
i familiar overriding db adapters in java see fired sql requests. there similar in php
or there way view fired sql mysql functions itself?
click wamp tray icon, , click 'my.ini' in mysql menu.
then, add following in [mysqld] section:
general-log=1 general-log-file = "c:\wamp\logs\mysql_general.log"
finally, restart services , queries should logged. enables mysql's general query log.
Comments
Post a Comment