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 ...
- 01-12-2005 #1Just Joined!
- Join Date
- Jan 2005
- Location
- Regina, Sk
- Posts
- 16
MySQL
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 #2Linux Guru
- Join Date
- May 2004
- Location
- forums.gentoo.org
- Posts
- 1,814
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
//got nothin'
///this use to look better


Reply With Quote