7 thoughts on “Get database connection details in Magento

    1. where to put this code in magento to get database connection details???

    2. @riya – You can put this in any function in your controller, or for testing you can put in any file (view,model etc)

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to top