How to connect to mysql db correctly? In my application.ini file, I have put all the db details:
[master]
adapter = PDO_MYSQL
params.host = localhost
params.username = root
params.password = ''
params.dbname = accounts_db
I want to get these details and connect to my db.
Try this one its work
In my site it will work perfectly