Skip to content

php8.5 deprecated issue PDO::MYSQL_ATTR_SSL_CA in config/database.php - #1606

Closed
grafxflow wants to merge 1 commit into
wintercms:wip/1.3from
grafxflow:develop
Closed

grafxflow wants to merge 1 commit into
wintercms:wip/1.3from
grafxflow:develop

Conversation

@grafxflow

Copy link
Copy Markdown

There is an issue / alert in php 8.5

PHP Deprecated:  Constant PDO::MYSQL_ATTR_SSL_CA is deprecated since 8.5, use Pdo\Mysql::ATTR_SSL_CA instead in /config/database.php

This can be resolved by changing the config/database.php

<?php

use Pdo\Mysql;

...

Mysql::ATTR_SSL_CA => env('MYSQL_ATTR_SSL_CA'),

PHP Deprecated:  Constant PDO::MYSQL_ATTR_SSL_CA is deprecated since 8.5, use Pdo\Mysql::ATTR_SSL_CA instead in /config/database.php
@coderabbitai

coderabbitai Bot commented Nov 16, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 58a4a54f-0617-48de-87d2-230c29649509

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • Trigger review
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@grafxflow grafxflow closed this Nov 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant