[production]
resources.db.adapter = "pdo_mysql"
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = ""
resources.db.params.dbname = "my_db"
resources.db.isDefaultTableAdapter = true
If I want to write _initDb() method to set database adapter for application from Bootstrap class how it would be ?
I don't want to set resouces for requests to load model.Just want to set DB adapter.
Thanks
没有评论:
发表评论