GregL83 Posted July 14, 2010 Share Posted July 14, 2010 Hello, I updated my verison of Zend framework to 1.10 today. All i did was copy the main library over and replace the old Zend folder. My existing appplications work well. I am trying to build a mysql db app and i'm having trouble connecting to the DB with zend. It was my understanding that all i need to do is add the configuration lines to the application.ini file... However, i keep getting the error: Fatal error: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'Configuration array must have a key for 'dbname' that names the database instance' I can't seem to get this connected... the params in my application.ini are as follows: resources.db.adapter = "PDO_MYSQL" resources.db.host = "localhost" resources.db.dbname = "test" resources.db.username = "root" resources.db.password = "" resources.db.isDefaultTableAdapter = true Quote Link to comment https://forums.phpfreaks.com/topic/207684-zend-framework-db-connection/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.