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 -

google shop client API returns 400 bad request error while adding an item -