Results 1 to 5 of 5
Hi all,
Currently I'm using RHEL 5.3 in my server. Last time I install MySQl Server and it working fine.
Then i facing a problem with my server and i ...
- 05-24-2010 #1Just Joined!
- Join Date
- Apr 2010
- Posts
- 7
[SOLVED] MySQL and RHEL 5.3
Hi all,
Currently I'm using RHEL 5.3 in my server. Last time I install MySQl Server and it working fine.
Then i facing a problem with my server and i reinstall back RHEL. But i didnt use MySql package inside the CD to install MySQL.
So i install MySQl separately. I download from MySql website.
My problem is, i success install MySql in my server. The service also running. But when i type.
mysql -u root password
it said, command not found.
I dont understand why.
Can somebody give me an idea?
- 05-24-2010 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
- 05-24-2010 #3
Either you have only installed the server RPM (the mysql client is in the client package),
or the mysql client is not in $PATH
To check that, do a
and look for the name of that client packageCode:rpm -qa|grep -i mysql
Code:rpm -qilv <CLIENTPACKAGENAME> |grep bin
You must always face the curtain with a bow.
- 05-24-2010 #4
also, when including the password in the mysql command, you want it to look like this (i'm going to use "test" as the password):
Code:mysql -u root -ptest
- 05-26-2010 #5Just Joined!
- Join Date
- Apr 2010
- Posts
- 7
Thanks to everyone who has replied,
It my fault. I suppose install the client. But i didn't.
After i installed it, then it work.


