Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 06-26-2002, 12:28 PM   #1
LQ Newbie
Registered: Jun 2002
Posts: 2

Rep: Reputation: 0
Newbie MySQL install help

Hi All

I was wondering if anyone can help me. I'm currently running on RedHat 7.1 and I installed MySQL-3.23.51-1.i386 using an rpm. All seems to work fine until I try to run MySQL. The prompt keeps telling me that /usr/bin/mysql doesn't exist. Where Can I find the mysql file to put here, or do I have to re-install MySQL. What could the problem be.

Any help would be greatly Appreciated. Thanks
Old 06-26-2002, 04:55 PM   #2
Registered: Mar 2002
Location: Sacramento, CA
Distribution: Slackware 8.1; Debian 3.0
Posts: 222

Rep: Reputation: 30
First, I would check in /usr/bin to make sure the mySQL files are present. Just cd to /usr/bin and do ls *mysql* You should get quite a few entries.

Before you can start using mySQL, you need to make sure the daemon is running (mysqld). This is best started with the safe_mysqld program in /usr/bin. A common way to kick this process off from the command line is:

/usr/bin/safe_mysqld --user=mysql

Once the daemon is running, you can use mysql to access/create/modify databases.

Read up on it bit here:

You can probably start with chapter 2 "MySQL Installation". Figure out where in the process you are after installing the rpm and do the setup and tests.

Old 06-26-2002, 10:09 PM   #3
Registered: Apr 2002
Distribution: redhat7, 7.1, 7.2, 8.0, mandrake, debian2.2, 3, suse
Posts: 176

Rep: Reputation: 30
install source - it's easier
Old 06-27-2002, 06:37 AM   #4
LQ Newbie
Registered: Jun 2002
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks for all your help. I finally got it working.


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
Bugzilla - MySQL - perl - DBD::mysql install problem Runningonair Linux - Software 8 10-12-2007 12:42 AM
Newbie with MySQL Install problem pendulum Linux - Newbie 3 04-12-2005 11:59 PM
How to install mysql on Xandros 2.0 for Newbie jdruin Linux - Software 1 07-03-2004 03:15 PM
Linux newbie needs help with install of MySQL on Redhat9 bkimelman Linux - Software 1 11-03-2003 11:28 AM
MySQL mysql-3.23.56-1.9, rpm install problem jacsmith510 Linux - Newbie 3 09-19-2003 02:02 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration