Closed
Description
Discussed in #41299
Originally posted by Brenneisen March 2, 2022
- Laravel Version: 9.3.0
- PHP Version: 8.1.1
- Database Driver & Version: MySQL Ver 8.0.27-0ubuntu0.20.04.1 for Linux on x86_64 ((Ubuntu))
Description:
I get an error when running php artisan migrate
. With version 9.2.0
the migrations still work. With 9.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}"
.
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.
Error Output:
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2026 (HY000): SSL connection error: SSL_CTX_set_default_verify_paths failed
Steps To Reproduce:
Run php artisan migrate
.