-
-
Notifications
You must be signed in to change notification settings - Fork 2.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
Connection for seeding testing db fails if DB PORT is not 3306 #6200
Comments
Indeed, the Lines 99 to 111 in 7c8105c
Lines 43 to 46 in 7c8105c
Probably a rather easy fix |
The `testing` database used for the tests had no way to configure a db server port. It always used some default fallback port (probably of the pdo driver). Added the `port` config setting with a new env variable `DB_TEST_PORT`. Fixes monicahq#6200
The `testing` database used for the tests had no way to configure a db server port. It always used some default fallback port (probably of the pdo driver). Added the `port` config setting with a new env variable `DB_TEST_PORT`. Fixes monicahq#6200
The `testing` database used for the tests had no way to configure a db server port. It always used some default fallback port (probably of the pdo driver). Added the `port` config setting with a new env variable `DB_TEST_PORT`. Fixes #6200
🎉 This issue has been resolved in version 4.0.0 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
This issue has been automatically locked since there |
For developers forking and installing projects locally, if database connection port is not 3306, there is an Illuminate\Database\QueryException thrown on command php artisan migrate --database testing.
The text was updated successfully, but these errors were encountered: