I currently have an alias to connect to a remote server:
alias server='ssh [email protected]'
I would like to have an alias to connect to this server, and then automatically open mysql terminal.
Currently, I connect to the server and then run:
mysql
manually.
Is there anything like:
alias serverdb='ssh [email protected] && mysql'
but to be executed on the remote server?