LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-26-2002, 01:28 PM   #1
andweave
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, 05:55 PM   #2
jpweston
Member
 
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:

http://www.mysql.com/documentation/mysql/bychapter/

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.

j.
 
Old 06-26-2002, 11:09 PM   #3
mace
Member
 
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, 07:37 AM   #4
andweave
LQ Newbie
 
Registered: Jun 2002
Posts: 2

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


Reply


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


All times are GMT -5. The time now is 07:43 PM.

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