Got error: 2026: TLS/SSL error: SSL is required, but the server does not support
-
Hi everyone,
I’m encountering an issue when running the
wp search-replacecommand.Here’s what’s happening:
Command:
wp search-replace --allow-root --recurse-objects --all-tables --precise "oldurl" "newurl"Error:
Got error: 2026: TLS/SSL error: SSL is required, but the server does not supportEnvironment:
- WordPress: 6.8.3
- PHP: 8.3.27
- MariaDB: 11.8.3 – No SSL configured
- MariaDB Client: 15.2
- WP-CLI: 2.12.0
- OS: debian-linux-gnu (x86_64) (Docker)
Same error on:
wp db checkNo error on:
wp db check --ssl=falseObservations:
- The issue only occurs on PHP 8.2.29+ . Downgrading to PHP 8.2.28 resolves it.
- No custom database configurations in
wp-config.phpother than credentials. - No plugins are active during testing.
Question:
Why does
wp search-replacefail? Is there a known issue orMYSQL_CLIENT_FLAGSI should use inwp-config.php?Thank you for your help!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
The topic ‘Got error: 2026: TLS/SSL error: SSL is required, but the server does not support’ is closed to new replies.