Skip to content

Explain when a required PDO driver is missing - #425

Merged
g105b merged 3 commits into
masterfrom
fix/366-missing-pdo-driver
Nov 12, 2026
Merged

g105b merged 3 commits into
masterfrom
fix/366-missing-pdo-driver

Conversation

@g105b

@g105b g105b commented Nov 10, 2026 •

Copy link
Copy Markdown
Member

Checks PDO driver availability before preparing connection options or reading credentials. Missing drivers throw MissingDriverException with the driver name and a troubleshooting link.

Tests cover missing MySQL support in a real PHP process and connection failures when a driver is installed. The full suite and quality checks pass. Codecov reports 96.01% project coverage against a 96.00% base, with 100% patch coverage.

Documentation: https://github.com/phpgt/Database/wiki/Missing-PDO-drivers

Fixes #366.

@codacy-production

codacy-production Bot commented Nov 10, 2026 •

Copy link
Copy Markdown

Up to standards ✅

🟢 Issues 0 issues

Results:
0 new issues

View in Codacy

🟢 Metrics 0 complexity · 0 duplication

Metric Results
Complexity 0
Duplication 0

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@g105b
g105b merged commit 99ae9d6 into master Nov 12, 2026
27 of 29 checks passed
@g105b
g105b deleted the fix/366-missing-pdo-driver branch November 12, 2026 12:16
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.

Error message: When MySQL driver is not installed

1 participant