Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 01-12-2005 #1
- Join Date
- Jan 2005
- Regina, Sk
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.
- 01-12-2005 #2
- Join Date
- May 2004
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./IMHO
///this use to look better