cli icon indicating copy to clipboard operation
cli copied to clipboard

Setting `database` in `.my.cnf` breaks `pscale shell`

Open tessro opened this issue 2 years ago • 1 comments

For convenience, I have a ~/.my.cnf file configured to connect to my development MySQL instance -- this lets me run mysql with no arguments.

This seems to break pscale shell, which spits out this error:

ERROR 1105 (HY000): unknown database '<database name>'
Error: exit status 1

I suspect pscale isn't specifying the database to connect to when it invokes the MySQL CLI. Is that something you could fix? It would make the local workflow a lot nicer. Thanks for your consideration. :)

tessro avatar Jan 26 '22 23:01 tessro

I had the same issue.

themilar avatar Jul 12 '22 07:07 themilar

Fix will be included in the next release (soon!)

mscoutermarsh avatar Apr 28 '23 20:04 mscoutermarsh

Incredible, thank you!

tessro avatar Apr 28 '23 23:04 tessro