Still working on this, but is there any function / command that I can use to set some simple variables?
Logging into mysql is faster when I'm already in ssh'd, but entering the full connection string is a bit annoying.
Any way to do something like:
mysql $ {variable} dbnameWhere variablewill there be something like-u user -p -h hostname
Or is there another way to do what I need?
source
share