LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 09-14-2004, 08:35 PM   #1
dr_angus
LQ Newbie
 
Registered: Sep 2004
Location: Hurricane Country U.S.A.
Posts: 18

Rep: Reputation: 0
MySQL RPM installation


Hey everybody,

I'm postig this question on the newbie forum cause i'm a n00b. Duh!

So anyways, I'm trying to install a MySQL server on my Fedora Core 2, and uh... I have no idea what to do. I've been looking through these forums, honesty, for MORE THAN TWO HOURS, and I still haven't found out what to do. I tried running the RPM (MySQL-server-4.0.21.i386) through the gui by using an app called, "install", or something like that. It told me it had installed it, so i tried looking for the folder where it was installed in, and couldn't find it. So bright little me decides to use the consol. It would take too long for me to tell everything I did (and i don't even remember half of what i did). So please help a brother out and break it down real simple (not too simple, atleast i have a vague idea on how to use the console) and help me out and tell me what to do. Thanks so much
 
Old 09-14-2004, 10:15 PM   #2
ptaylor
LQ Newbie
 
Registered: Sep 2002
Location: Toronto
Distribution: RHEL WS 3
Posts: 15

Rep: Reputation: 0
dr_angus

If you download both the server and client .rpm files (MySQL-server-4.0.21.i386 and MySQL-client-4.0.21.i386) you can install the complete package (even configured to start the MySql server each time you start linux) by opening the console and doing the following;

su
enter your root password here

rpm -i MySQL-server-4.0.21.i386.rpm MySQL-client-4.0.21.i386.rpm

Good Luck!
 
Old 09-15-2004, 09:46 AM   #3
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,247

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
If it says it's missing something else, goto the cmd line as root ie
su -
<rootpasswd>

then type
yum install mysql

YUM is designed to handle dependencies automatically, and comes with RH/FC as std (I believe).
 
Old 09-15-2004, 07:28 PM   #4
dr_angus
LQ Newbie
 
Registered: Sep 2004
Location: Hurricane Country U.S.A.
Posts: 18

Original Poster
Rep: Reputation: 0
yum

for some odd reason, i used the command,
#rpm -i MySQL-server-4.0.21.i386.rpm
and it worked
I was updating fedora, so that might have given me some stuff that i need.
Well, thanks anyways guys, but i do have one more question, where is the MySQL bin folder? I need to do one of the "mydb < something.sql" sorts of things, and i need to kno where to put my "something.sql" file. Thank you all again for the help

Last edited by dr_angus; 09-15-2004 at 08:55 PM.
 
Old 09-15-2004, 09:02 PM   #5
ptaylor
LQ Newbie
 
Registered: Sep 2002
Location: Toronto
Distribution: RHEL WS 3
Posts: 15

Rep: Reputation: 0
dr_angus

On my installation, the rpm binary put the mysql executable files in the /usr/bin directory.

Cheers,
pt
 
Old 09-16-2004, 09:58 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 234Reputation: 234Reputation: 234
Re: yum

Quote:
Originally posted by dr_angus
Well, thanks anyways guys, but i do have one more question, where is the MySQL bin folder? I need to do one of the "mydb < something.sql" sorts of things, and i need to kno where to put my "something.sql" file.
Also locate and find are your friends..
 
  


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
MySQL 3.23.58-14 installation prolem - mysql.sock not found lightcom Linux - Software 4 02-23-2005 01:46 AM
php4 mysql, installation, php-pages with mysql info stay empty dnla Linux - Software 2 03-14-2004 03:54 PM
MySQL RPM Installation Tezdread Linux - Software 1 11-21-2003 06:21 AM
MySQL mysql-3.23.56-1.9, rpm install problem jacsmith510 Linux - Newbie 3 09-19-2003 03:02 PM
MySQL RPM Installation andrewt Linux - Software 2 08-02-2003 06:13 PM


All times are GMT -5. The time now is 12:41 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