LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-29-2002, 01:14 PM   #1
rootlinux
Member
 
Registered: Dec 2001
Location: California
Distribution: Red Hat 7.2, Slackware 8.0
Posts: 53

Rep: Reputation: 15
Question on MySQL


Quick question here.

Can someone help me out here and tell me how I can install MySQL on my server at home?

I need to download MySQL and install it.
For information, im running RedHat 7.2.

Any suggestions here would be very greatful. Thanks everyone.

R.
 
Old 01-29-2002, 01:25 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
depending on which format your going to download.. there should be documentation on mysql's homepage about installing and setting up.. you should check it out. explaining a setup like that could require lots of typing.. this is more of a "I installed it, its not working, this is error, can anyone help me" type site.

http://www.mysql.com/
 
Old 02-10-2002, 08:34 PM   #3
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
/usr/share/doc/mysql-3.23.41/manual.html

seems like the rpm route is best

a 100% Redhat 7.2 install installs mysql completely

I am having trouble starting mysql...see my post
 
Old 02-10-2002, 11:39 PM   #4
landonmkelsey
Member
 
Registered: Jul 2001
Location: Texas
Distribution: Fedora 16
Posts: 323

Rep: Reputation: 37
just got it working...try this

Just got it running under Redhat 7.2

best to install EVERYTHING when installing Redhat
mysql was installed when I did an update to Redhat 7.2 from 7.1

login as root

Start server via:
/usr/bin/mysql_install_db
/usr/bin/safe_mysqld --user=root &

Start client via:
mysql

enter sql...
use mysql;
create table yiyi (n1 float);
insert into yiyi values (3.14159);
select * from yiyi;


There are instructions on how to
(1) run as a user other than root
(2) start automatically on booting Linux

enter at the prompt:
>locate mysql

enter the following into the location slot of netscape for documentation
file:/usr/share/doc/mysql-3.23.41/manual.html

this works for Redhat 7.2

much more work to be done

I logged out as root and logged in as myself and the server was still running and the sql worked!
 
Old 02-11-2002, 07:07 AM   #5
Syncrm
Member
 
Registered: Aug 2001
Location: Lansing, Michigan
Distribution: slackware8+
Posts: 472

Rep: Reputation: 30
i'd just install it off the cds you probably installed redhat with.

just pop them in and browse the RPMS directory for the appropriate .rpm file and then do this:

rpm -i mysql-xxxx.rpm

(where xxxx is the version and other misc info). this way you don't have to worry about downloading and incompatibility issues.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mysql error Can't connect to local MySQL server through socket '/var/lib/mysql/mysql. Dannux Linux - Software 3 03-24-2006 08:44 AM
MySQL question... kith Linux - General 3 03-06-2004 06:40 PM
MySQL Question NoBrains Linux - Software 2 03-01-2004 10:10 PM
MySQL question TraCe66 Linux - Newbie 11 07-15-2003 02:35 PM
MySQL question ascii2k Linux - General 1 03-27-2002 04:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:06 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
Open Source Consulting | Domain Registration