472,145 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,145 software developers and data experts.

MySQL install ok, service started but can not connect

Hi all,

I've just install RedHat Enterprise Linux 4, and upgraded to RedHat Enterprise Linux 5. I need to set up a web server on it. Things are ok except MySQL database. I downloaded MySQL-shared-standard-4.1.22-0.rhel4.i386.rpm, MySQL-server-standard-4.1.22-0.rhel4.i386.rpm from mysql.com and installed them. Things are ok, please resutl http://www.iconvex.com/mics/mysql.jpg . But when i type "mysql" at command line, it said that "bad command". Any things wrong?

Thanks
Nov 23 '07 #1
1 1387
it appears the mysql command has not been set in the PATH, try
locate mysql
and run the command from the location returned.
Nov 23 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

20 posts views Thread by Mr Dygi | last post: by
1 post views Thread by Ken | last post: by
2 posts views Thread by Bruce W...1 | last post: by
reply views Thread by Mike Chirico | last post: by
reply views Thread by Saiars | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.