How to change Magento Database Settings.
1- Go to magento/app/etc/local.xml (see blow picture)
2- Open local.xml then you will find the below code.
3-...
The following code return the last query that was running in codeigniter.
Sometimes we want to display which query was currently running. For this purpose...