Skip to content

Commit

Permalink
Merge pull request #83 from ashsmith/patch-ssl-ca
Browse files Browse the repository at this point in the history
Ensure SSL CA is passed to MySQL CLI
  • Loading branch information
gareth-e-james committed Dec 12, 2023
2 parents d72a3fd + c27e936 commit 4bd982a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/Command/ExportCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ private function getCredentialOptions()
'host' => $this->config->getDatabaseCredentials()->getHost(),
'user' => $this->config->getDatabaseCredentials()->getUsername(),
'password' => $this->config->getDatabaseCredentials()->getPassword(),
'port' => $this->config->getDatabaseCredentials()->getPort()
'port' => $this->config->getDatabaseCredentials()->getPort(),
'ssl-ca' => $this->config->getDatabaseCredentials()->getSSLCAPath(),
];

$args = [];
Expand Down
3 changes: 2 additions & 1 deletion src/Service/Database/Shell.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,8 @@ private function getCredentialOptions()
'host' => $this->config->getDatabaseCredentials()->getHost(),
'user' => $this->config->getDatabaseCredentials()->getUsername(),
'password' => $this->config->getDatabaseCredentials()->getPassword(),
'port' => $this->config->getDatabaseCredentials()->getPort()
'port' => $this->config->getDatabaseCredentials()->getPort(),
'ssl-ca' => $this->config->getDatabaseCredentials()->getSSLCAPath(),
];

$args = [];
Expand Down

0 comments on commit 4bd982a

Please sign in to comment.