-
Notifications
You must be signed in to change notification settings - Fork 17
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
[feature request] Allow user/username in DSN #147
Comments
I think, that this functionality was unintentionally removed in 78dce9d (different order of updates of |
Hello @Tux! What is the purpose to abuse DBI API, which has standard defined way how to specify username and password, and add a new way to specify username and password? This would just confuse users what they should use, plus it is driver specific and incompatible with other DBI-compatible drivers. Also there is a question, if somebody specify both pass and password keys in DSN, then also password in correct/documented |
|
Hm... Looks like this is something which could be implemented in DBI layer, not re-implemented in every one DBI driver. Could you open request directly in DBI project about it? |
Hello @Tux! I'm thinking about closing this issue as duplicate / forwarded to DBI issue perl5-dbi/dbi#87 |
It is much harder to do in DBI than in the DBD's, as the DBI has no knowledge of what DBD's support, but the DBD's have knowledge of what DBI supports. |
It is not documented, but DBD::mysql supports the user/pass in the DSN, which is very handy in dynamic DSN's and testing.
Would you consider allowing user/pass in DSN?
The text was updated successfully, but these errors were encountered: