-
Notifications
You must be signed in to change notification settings - Fork 11.2k
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
ERROR 2026 (HY000): SSL connection error: SSL_CTX_set_default_verify_paths failed #41300
Comments
I believe it is due to the fact that an empty string is passed: #40931 |
What is the MySQL client version? |
I will provide a PR later today. |
Indeed i just updated to 9.3 and got the same error when my tests runs the migrations: Symfony\Component\Process\Exception\ProcessFailedException : The command "mysql --user="${:LARAVEL_LOAD_USER}" --password="${:LARAVEL_LOAD_PASSWORD}" --host="${:LARAVEL_LOAD_HOST}" --port="${:LARAVEL_LOAD_PORT}" --ssl-ca="${:LARAVEL_LOAD_SSL_CA}" --database="${:LARAVEL_LOAD_DATABASE}" < "${:LARAVEL_LOAD_PATH}"" failed.
Exit Code: 1(General error)
Working directory: /app
Output:
================
Error Output:
================
ERROR 2026 (HY000): SSL connection error: Error while reading file.
/app/vendor/symfony/process/Process.php:267
/app/vendor/laravel/framework/src/Illuminate/Database/Schema/MySqlSchemaState.php:77
/app/vendor/laravel/framework/src/Illuminate/Database/Console/Migrations/MigrateCommand.php:145
... My environment is using I hope it helps ! |
Spotted this yesterday while running github action tests that require mysql connection. Glad its being looked at already. |
@DeepDiver1975 when will you have time to send in a PR? Otherwise we'll probably revert this for now to unblock people. |
Within the next hour |
Discussed in #41299
Originally posted by Brenneisen March 2, 2022
Description:
I get an error when running
php artisan migrate
. With version9.2.0
the migrations still work. With9.3.0
our integration tests throw an error when migrating because of an SSL connection error. For me it seems to be due to the new config--ssl-ca="${:LARAVEL_LOAD_SSL_CA}"
.Error Output:
Steps To Reproduce:
Run
php artisan migrate
.The text was updated successfully, but these errors were encountered: