Quote:
Originally Posted by TB0ne
Chances are it's not in your path. As root, do either a "locate mysql" or "find / -name mysql". Once you find the path to it, add it to your PATH environment variable, or run the fully-specified command, something like "/usr/bin/mysql" (or wherever it turns out to be).
You can also try typing in "rpm -ql MySQL-client-community-5.0.67-0 | more", and look for the mysql command, it should have the installed path in it.
|
I'm getting funny results from that... for instance I do a locate mysql and it says it's in /usr/bin/mysql but if I try to run /usr/bin/mysql it says no such file or dir.
Also I got this when trying to query for the rpm:
[root@node1 tylerm]# rpm -ivh MySQL-client-community-5.0.67-0.rhel5.x86_64.rpm
Preparing... ########################################### [100%]
package MySQL-client-community-5.0.67-0.rhel5 is already installed
[root@node1 tylerm]# rpm -ql MySQL-client-community-5.0.67-0.rhel5.x86_64.rpm |
more
package MySQL-client-community-5.0.67-0.rhel5.x86_64.rpm is not installed