Zend Framework tutorial – I keep getting sql error-Unknown database-Collection of common programming errors

Have another look at the quick start, you’re using the wrong adapter

resources.db.adapter = "PDO_SQLITE"
resources.db.params.dbname = APPLICATION_PATH."/../data/db/guestbook.db"

APPLICATION_PATH is set in the index.php file in the /public directory

Edit :

As you’ve pointed out that you’re using MySQL then the adapter is correct and the dbname is wrong. Have a look what the database you are using is called and change config. It’s currently looking for a database in your file system not in your MySQL database.

Originally posted 2013-11-09 22:54:56.