Can not find mysql command prompt
I can not find the command line prompt after installing mysql.
I installed this version: http://dev.mysql.com/downloads/mysql...x86-64bit-rpms The rpms installed are: MySQL-client-community-5.0.67-0.rhel5.x86_64.rpm MySQL-devel-community-5.0.67-0.rhel5.x86_64.rpm MySQL-server-community-5.0.67-0.rhel5.x86_64.rpm MySQL-shared-community-5.0.67-0.rhel5.x86_64.rpm Not sure if I'm missing anything but the command: mysql -u root -p (or /usr/bin/mysqladmin -u root -p) does not work. |
Quote:
And saying "does not work" is a bit vague...does it give you ANY errors? Do ANYTHING? |
Quote:
[tylerm@node1 ~]$ mysql -bash: mysql: command not found [tylerm@node1 ~]$ [root@node1 ~]# mysql -bash: mysql: command not found [root@node1 ~]# mysqladmin -bash: mysqladmin: command not found [root@node1 ~]# |
Quote:
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. |
Quote:
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 |
All times are GMT -5. The time now is 02:04 PM. |