![]() |
Linking Programs to the commandline
Hello All,
Sorry for the bad topic title, but I have no-idea on how to ask this. I have just installed mysql from its source. In order to access mysql, i have to type in the fully quailfied name (In my case, /etc/mysql/bin/mysql). Is there anyway to set it up so all I have to do is type 'mysql' at the commandline? |
a) add /etc/mysql/bin to your PATH variable (PATH=$PATH:/etc/mysql/bin)
b) create an alias in your .bashrc (alias startsql=/etc/mysql/bin/mysql) |
Great :D It works now
Thank You |
| All times are GMT -5. The time now is 01:19 AM. |