开发者

Find out the database connection details from an existing Zendframework project

I have a zendframework project. from this i want to know the database deta开发者_如何学Goils. i searched the code for it but no result. From where i will get the database username and password from the Zend project ?


Browse the /application/configs folder. You find a application.ini file where db connection details are stored:

resources.db.adapter = "pdo_mysql"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = ""
resources.db.params.dbname = "myproject"
resources.db.isDefaultTableAdapter = true
resources.db.params.charset = "UTF8"
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜