Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-06-2003, 03:26 AM   #1
Registered: Mar 2003
Posts: 33

Rep: Reputation: 15
mysql query ?????


I tried ps -aef | grep mysqld to see if mysql daemon is running.

Mysql daemon is running.

But when I type 'mysql' from the prompt, i get a message - Command not found.

I dont know why !!!!

Do i need to install anything else ???????


Old 09-06-2003, 03:28 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu ; CentOS ; Raspbian
Posts: 12,613

Rep: Reputation: 69
Depending on how you installed it, it may simply not be in your PATH variable. Try:
locate mysql


whereis mysql

And then execute with full path:
Where /path/to/mysql
Is what you find from one of the above 2 commands, for example:
/usr/local/mysql/bin/mysql -u root -p

Might be what you use.




Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
mySQL query help ezra143 Programming 3 04-25-2005 03:17 PM
Need mysql query help DropHit Linux - Software 7 04-01-2005 11:32 AM
Mysql Error: Lost Connection to Mysql during query ramnath Programming 5 11-18-2003 12:27 PM
mysql query ? shaahul Linux - Software 1 09-06-2003 03:35 AM
mysql query !!! hitesh_linux Linux - General 1 02-03-2003 03:36 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration