2011-09-23 55 views

回答

6

這個連接不在Zend和phpmyadmin之間。它是Zend-MySQL連接。

請閱讀以下文章。它包括基本信息如何與Zend連接到MySQL:

這裏是的application.ini數據庫配置樣本:

[production] 
resources.db.adapter = "pdo_mysql" 
resources.db.params.host = "mysqlhost" 
resources.db.params.username = "mysqlusername" 
resources.db.params.password = "mysqlpassword" 
resources.db.params.dbname = "databasename" 
resources.db.isDefaultTableAdapter = true 
1
resources.db.params.charset = "utf8" 
resources.db.adapter = "pdo_mysql" 
resources.db.params.host = "localhost" 
resources.db.params.username = "root" 
resources.db.params.password = "" 
resources.db.params.dbname = "mysite" 
resources.db.isDefaultTableAdapter = true 
;resources.db.params.profiler = true ;if you use profiler 
相關問題