cli
cli copied to clipboard
Setting `database` in `.my.cnf` breaks `pscale shell`
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. :)
I had the same issue.
Fix will be included in the next release (soon!)
Incredible, thank you!