Paul Howarth wrote:
Mark Sargent wrote:
am wishing to add mysql/bin to my path on FC3. How is this done.? My book doesn't seem to cover it specifically and googling was not so clear on it. Cheers.
Presumably this is a locally built version of mysql since the FC3 mysql has binaries installed in /usr/bin?
If you want to do this for just one account, tweak that accounts's .bash_profile to add the entry.
If you want to do this system-wide, you probably want to add entries to /etc/profile.d to add the directory into the PATH variable at the appropriate place.
Paul.
Hi All,
Paul, I had problems with the FC3 rpm for mysql, so I installed via the tar file. Following the mysql install faq, it said to place mysql in, /usr/local/mysql. Should I move it to the same dir the rpm would have installed it to get the paths right..? Cheers.
I think you'd be much better off addressing the problems you're having with the FC3 mysql installation.
But if you really want to use the one in /usr/local/mysql, you could always put:
PATH=/usr/local/mysql/bin:$PATH
in your ~/.bash_profile
That should take effect next time you log in.
Paul.