Single DB connection (resource configuration) from
application.ini
:resources.db.adapter = "pdo_mysql" resources.db.params.host = "mysql1" resources.db.params.username = "dbuser" resources.db.params.password = "dbpass" resources.db.params.dbname = "dbname" ;resources.db.???
Multiple DB connection (resource configuration) from
application.ini
:resources.multidb.mysql1.adapter = "pdo_mysql" resources.multidb.mysql1.host = "mysql1" resources.multidb.mysql1.username = "dbuser" resources.multidb.mysql1.password = "dbpass" resources.multidb.mysql1.dbname = "dbname" ;resources.multidb.mysql1.???
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
I don't believe connecting to MySQL with SSL is currently supported in Zend. However, Zend Issue Tracker ticket #6140 may be of help to you.