-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Drush error: TLS/SSL error: SSL is required, but the server does not support it #104
Comments
it seems mariadb client was updated (to 11.4) in the last tag that was built with the new alpine 3.21, the client has server cert verification enabled by default for non local connection https://mariadb.com/kb/en/securing-connections-for-client-and-server/# |
Hmm, I've experimented with the |
Ah, I see you only committed that a few minutes ago. Adding that |
Does it work if you replace |
Unfortunately not. The command drush executes looks like this:
Is the |
If you run the drush sql command with --show-passwords option, then it wont use --defaults-file. If that works, lets discuss how to remedy. |
Yes, I've tried that and it works. |
Oh, wait. It seems to work for |
Hmm, that seems to be correct as I stated. For For |
OK, thats a small bug in sqlc. Lets use sqlq to figure out best way forward. Its been a while since I researched merging of [client] config in a my.cnf file. I dunno whats possible with --defaults-file and such. For the Drush history here, see drush-ops/drush#2387 and its linked issues. |
Phew, that's beyond my horizon right now. But I'd be happy to test if anything is around. |
4.65.1 is the tag with |
I can confirm importing a dump with |
I've updated to the latest image for PHP 8.3 this morning and now get the
TLS/SSL error: SSL is required, but the server does not support it
error when runningdrush sqlc
. When I downgrade the image to the one before, the error goes away.What's interesting, the PHP-FPM can access the the database with the same credentials without an issue. The mariadb CLI can not and gets the same error message.
Any idea what's wrong here?
EDIT:
The text was updated successfully, but these errors were encountered: