Hi, I have just installed mysql from a binary distribution. I was wondering if anyone out there knows how to configure it so that all I need to type is "mysql" on the command line to access the mysql shell. As of now the only way I can access the shell is to cd into the dir that it is located and run "./mysql". Thanks for any input.
One way would be to add the directory of the mysql executable to your path by editing your /home/username/.bash_profile Then you should be able to execute it from anywhere. Working directory would be a different question.
The "." in ".bash_profile" shows that it is a hidden file that you may not see in your file manager or if you ls the directory. To see the hidden files, at the command line use ls -a and in the Gnome, select edit->preferences->views and select "Show hidden and backup files" In KDE and others, click around.