-
Notifications
You must be signed in to change notification settings - Fork 95
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
[BUG] Custom Database Connection Name #139
Comments
Hey @fauzie, thanks for submitting this bug! Very sorry about the very late answer. Prequel is going back in to active development and a v2.0 is being developed right now (see #156). I will fix this in that release. Hope you haven't been discouraged from using Prequel because of this! I'll keep this issue open until the fix is in the aforementioned PR. |
Open
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Not support with custom connection name that difference from driver name. e.g: in config
database.php
i am usingconnections
with namedefaultdb
and driver usingmysql
To Reproduce
Assume you are using mysql database. Steps to reproduce the behavior:
connection
array key with drivermysql
to other thanmysql
. eg:config/prequel.php
as isNext try i change my config path
prequel.database.connection
tomydb
, same like on database configOpen prequel on browser, and is still error with message:
Expected behavior
Prequel database config must follow the configuration from the database config, and make the connection details such as host, port, database, username, password is optional in the prequel config, just store the connection name on prequel config, and follow the rest from database config.
Screenshots
https://ibb.co/9WMmwfz
https://ibb.co/8M02W7d
PHP Version
Database type
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: