Connect to mysql server through ssl in Zend Framew

2019-08-15 22:18发布

  1. 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.???
  2. 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条回答
Ridiculous、
2楼-- · 2019-08-15 22:58

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.

查看更多
登录 后发表回答