Specifiying username: inconsistency with mycli
See original GitHub issueDescription
pgcli
takes -U
as the option flag to specify the user; mycli
uses -u
. This is confusing (I had to check before writing this issue, to make sure I got them right).
Could those two be unified?
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Connect to database - mycli
Please note the hostname is part of the credentials for MySQL! The following default values are used to connect: user - your current...
Read more >dbcli/mycli - Gitter
Essentially, you just need to run: mysql_config_editor set --login-path=test --host=localhost --user=localuser --password and then you'd be prompted for your ...
Read more >Read more options from my.cnf · Issue #281 · dbcli/mycli
Just a list of options I'm currently using and that would be nice to have automatcially in mycli [mysql] pager = mypager ...
Read more >Install mycli on Linux | Snap Store - Snapcraft
Get the latest version of mycli for Linux - mycli is a command line interface ... TEXT Read MySQL config groups with the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This was the original reason. My goal was to make pgcli or mycli so compelling and fully-featured that people will never have to use the official clients. It will grow to a point where they will alias
psql
andmysql
topgcli
andmycli
in their bashrc files.Having said that I don’t see why we can’t support both
-u
and-U
for both clients. I don’t see a conflict in pgcli if we use the lowercase-u
and no conflict in mycli if we use-U
for user. So I don’t mind supporting both uppercase and lowercase-u
for user option.Let’s stay out of using
-U
in mycli then. I think that’s a useful feature that we may implement in the future.