通过Zend Framework中的ssl连接到mysql服务器

时间:2011-07-22 18:43:37

标签: mysql zend-framework ssl ssl-certificate zend-db

  1. 来自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.???
  2. 来自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 个答案:

答案 0 :(得分:1)

我认为Zend目前不支持使用SSL连接到MySQL。但是,Zend Issue Tracker ticket #6140可能会对您有所帮助。