Du skal sikre dig, at du bruger Zend_Db
og du har konfigureret MySQL som din adapter i Zend DB Adapter
Også i din application.ini
fil under configs
mappe,
du skal skrive:
[development : production]
phpSettings.display_startup_errors = 1
phpSettings.display_errors = 1
resources.frontController.params.displayExceptions = 1
resources.db.adapter = "PDO_MYSQL"
resources.db.params.dbname = "<your database name>"
resources.db.params.host = "<your host name>"
resources.db.params.username = "<mysql username>"
resources.db.params.password = "<mysql password>"
resources.db.params.charset = "UTF8"
Nyd kodning :)