I’m developing a zend application.I have in “config.ini”:
resources.db.adapter = "PDO_MYSQL"
resources.db.isDefaultAdapter = true
resources.db.params.host = "localhost"
resources.db.params.username = "root"
resources.db.params.password = "root"
resources.db.params.dbname = "test"
To start a connection with my Db and query it what else should I set?
Thanks
Luca
You need to initialize your connection in the bootstrap:
You don’t have to save the connection in the registry.