PDO::MYSQL_ATTR_SSL_CA, "capath" => PDO::MYSQL_ATTR_SSL_CAPATH, "cert" => PDO::MYSQL_ATTR_SSL_CERT, "key" => PDO::MYSQL_ATTR_SSL_KEY, "cipher" => PDO::MYSQL_ATTR_SSL_CIPHER, "verifyssl" => 1014 // PDO::MYSQL_ATTR_SSL_VERIFY_SERVER_CERT (>=7.1) ]; /** * PdoMysql constructor. * * @param \ByJG\Util\Uri $connUri * @throws \ByJG\AnyDataset\Core\Exception\NotAvailableException */ public function __construct(Uri $connUri) { $preOptions = [ PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8" ]; $postOptions = [ PDO::MYSQL_ATTR_USE_BUFFERED_QUERY => true, PDO::ATTR_EMULATE_PREPARES => true ]; if (!empty($connUri->getQuery())) { foreach ($this->mysqlAttr as $key => $property) { $value = $connUri->getQueryPart($key); if (!empty($value)) { $prepValue = urldecode($value); if ($prepValue === 'false') { $prepValue = false; } else if ($prepValue === 'true') { $prepValue = true; } $preOptions[$property] = $prepValue; } } } $this->setSupportMultRowset(true); parent::__construct($connUri, $preOptions, $postOptions); } } __halt_compiler();----SIGNATURE:----IeilVXhPXjpmSBuNkI3WvYvB5/ZL5gay0dqP46LFzhS243YlPKNLWv4c/zRT9bqc3Q33Tt5CdPlKickQ37Gm7gpyDmAq3OuHEKMys4QdF2v6neKdtRvolebQ4rElnNhQfMwspfbKQ2uMXujDsoMDvKsS8SxJQs1kD73pGGeP3Bti5ipxJs746zc2ByRxMBma/OGlmoFGxzdCYvoJY2YzyKxerrf0qcIu7JLCwEKd3/xDnDd8vK9x8jripBCBlohb6iOwE76XmlWr4235ujvW9JbgR9KLLaIJ/Ecn5ghDAqcaaYJtFRVaiD1YSDWeUVS2hHaMwsRLcvFkB2OTyB6CtHzAiCfrTYAo6zoGKmNWo7CY4BQnrMH7v6z5P0LXYE9z9++Dk0BZ44daUCug13rohfuHWP9iBxVgeEj/emJhudlw7lmx/OFDykvSU8tRhU2kUrLZReOijNDAuxzrlTZmeiBir8SixWANtwDt9IGdCt/A49bYIX6RU58kV5Qi7vukZ4c6ZJmabYjCXEPqn/kcUvcGvpb0rEXaimcNe/NWmBGd5TyMaJd6dnIHhmcprbmrCgIVSf5DetDu5vomq9cK5Zqa05/FBe2fJ7tt9plUfwNMM2g4QOdWT+OeQxagtD1ZgR/f8pg4Ez9HvnTSuG1Ge0toBqsKwdPb7HOuzeL1wIQ=----ATTACHMENT:----ODM2ODI2MDgyNTI0MDc0NSA0NTA5MTgwNzMxNjA4MjQzIDk0NjgzNTI4MjIwMTY1Mjc=