Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Undefined constant PDO::MYSQL_ATTR_SSL_CA in Drush\Sql\SqlMysql->creds() #10

Open
sharique opened this issue Feb 12, 2024 · 2 comments
Open

Comments

@sharique
Copy link

sharique commented Feb 12, 2024

Hi Hussain

We started using DrupalQA in our pipeline. We are using with Acquia/blt and MariaDB. On version with php8.2, we are getting error on bit setup

Undefined constant PDO::MYSQL_ATTR_SSL_CA in Drush\Sql\SqlMysql->creds() (line 103 of /opt/atlassian/pipelines/agent/build/vendor/drush/drush/src/Sql/SqlMysql.php).

 [warning] Drush command terminated abnormally.
@hussainweb
Copy link
Owner

Thanks, @sharique. It's not clear if this error is from your project files or from DrupalQA itself. From the path, it seems that this is from your project files. Moreover, since DrupalQA is a Docker image that runs outside your project, it can't interfere with things like blt setup. Of course, all this depends on how you have configured it.

If you still think this is because of DrupalQA, can you reproduce this problem in an open repository so that I can check? Thanks.

@sharique
Copy link
Author

I'm still trying to figure out from where it is coming from. After checking PDO::MYSQL_ATTR_SSL_CA on this page https://www.php.net/manual/en/ref.pdo-mysql.php, it seems PHP configuration issue.
I'll let you know if I found a fix for this.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants