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

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

android - IBM Worklight 6.1 [Application Error] There was a network error (file:///android_asset/www/index.html) -