I've installed XAMPP, and now want to set an alias so that I can open the commandline mysql client with just a single command.
Right now I have to type /opt/lampp/bin/mysql -u root -p
every time.
So I did this.
nano /root/.bashrc
Add the line:
alias mysql='/opt/lampp/bin/mysql -u root -p'
And saved. Sadly, it isn't working. What should I do to accomplish what I am trying?