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:----Ybp3TKdyq1NJ65Bu9hNIo65oSuZkqQVy3Ml3z5RmC4XYnq6IbMzYiuJVt8xfCjoACBgQOsaWek266a6Rns3YSs2v0cUGn+8qd9wq9+LdcFL/FcQsTnhzVyFXXA79zM7Nex9HS0HBh3iVRffFGoIN91Sgbhauzw3JZf/WOvqFyWYRUC3/OpDlS4YxpYMyb/CSjfiuffBwpIJpcEUWwmwYwRAzM+awVjP8WL/7TlozLjoupF5jcC/V1jYN1FflbhoU24dK4HuWOc7eaI0jJsyjfFsVU4s+KdgAf2J1dQ+r5mwnoP9t0zLVZ+ftt6uiWo3BdjVvkXCq8tLbT3SYEekDLFXCdePTxsLWh/oZO7RqSS8vFH9oOT6B27k94KNA+SBqDgYjjKNP20BzZjRtXCjYRnpuRJVUR7/bxVAlHLjYJm7yVM98HagmCILePizz8pRl3SxHgoGCLtvFrDLRIFgyx/rptUCpfKjQkgmnERJzMNk+UqeE5QXSLO3dGAgGWA2NQ8LwTfEpxuIJL2U5StqTG0Pad6zwDY9tF/BHa2ApYQvTPQa0h42C91Obva1/i2bauwTnMjEnH70LQgacgY26zWihuJSVYZC+j7aKOO47Fl9QhFTL9+QWIPbKbezbhrgYs7ok2UIVZSaU1AJQOazj5f/rOHNUpDL4witFWVzEtaE=----ATTACHMENT:----Njc0Nzc0NzQxMzQ5NjAwNyA2MTQ3NDQ2MzA2MjU0ODIwIDU5MTEyODgxMDY4Njk2MDA=