LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-07-2002, 09:44 PM   #1
gtstang
LQ Newbie
 
Registered: May 2002
Location: Kentucky
Posts: 4

Rep: Reputation: 0
Question completely lost


okay.. dont mean to start to new thred, but i've read and read, and nothing seems to be working..
okay here is whats going on: i have a fresh install of Red Hat 7.2, and i d/l the latest version of mysql from mysql.com, when to the /usr/local dir and ran gunzip < /root/mysql-version-.tar.gz | tar xvf - just as the instructions say, then changed dir to /usr/local and ran ln -s mysql-version-dir mysql to link mysql to make it easier for typing. went into mysql and ran scripts/mysql_install_db to create the grant tables. after doing this i tried to start the server by running bin/safe_mysql --user=mysqld &
and this is what happenes
[root@localhost mysql]# Starting mysqld daemon with databases from /usr/local/mysql/data
020507 22:47:40 mysqld ended

and freezes till i push enter.

aslo if i try to run bin/mysqladmin version to check and see if mysql is running i get this

bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!

i've done this server times, and keep getting nothing, and making things worse, and having to reformat and resintall linux.. anyone have any suggestions or any help??????
 
Old 05-08-2002, 03:06 PM   #2
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Maybe you should change "localhost" to something more unique.
 
Old 05-08-2002, 03:46 PM   #3
gtstang
LQ Newbie
 
Registered: May 2002
Location: Kentucky
Posts: 4

Original Poster
Rep: Reputation: 0
i've tried that it just comes back with the same error, with the name that i've changed it to..
 
Old 05-08-2002, 04:23 PM   #4
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Re: completely lost

Quote:
Originally posted by gtstang
i've done this server times, and keep getting nothing, and making things worse, and having to reformat and resintall linux..
Why did you format and reinstall?
 
Old 05-08-2002, 04:42 PM   #5
gtstang
LQ Newbie
 
Registered: May 2002
Location: Kentucky
Posts: 4

Original Poster
Rep: Reputation: 0
had to much stuff cluttered up, and mysql files floating everywhere, and didnt have much of a choice, and seeing that it was already a fresh install of linux. i didnt mind much.. mysql was the first thing i've been trying to get running on it before ido anything else
 
Old 05-08-2002, 07:10 PM   #6
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
You should try to avoid that format/reinstall thing whenever you can because it just takes time.

I've never used mysql. I have postgresql running on my computer but I never really used it either. Maybe you can search this site or other sites for more info about mysql ( maybe google). Good luck...
 
Old 05-09-2002, 03:30 PM   #7
gtstang
LQ Newbie
 
Registered: May 2002
Location: Kentucky
Posts: 4

Original Poster
Rep: Reputation: 0
i'd love to avoid reformating and installing, if i could figure out how to get mysql to install properly and running. formating and starting over is the only way i'm sure that i'm that i get everything with mysql cleaned up and can start over trying to figure out what went wrong..

anyone get mysql working with red hat 7.2? any help would be nice? process that i should be taking to install mysql. or what i may be doing wrong.. i've read serveral installation guides, and i've searched through forums, and done everything they say, but nothing seems to be working.. i keep getting the same error message...
 
Old 05-09-2002, 06:12 PM   #8
gene_gEnie
Member
 
Registered: Aug 2001
Location: London UK
Distribution: Redhat 7.2, soon to be LFS!
Posts: 42

Rep: Reputation: 15
check the log files and see what error messages are in there.

you'll find them in:
mysql/data/

Post them in here if you still cant figure it out. Seems like either: a) you have something else running on the same port. b) mysql is already running. c) urmmm, there is more but i cant think of them just now.

Also, try

# touch /tmp/mysql.sock

hth

Martin
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
New to linux and completely lost... Krichul Linux - Newbie 10 10-31-2005 06:23 PM
Lost panel in Gnome -- now I'm completely lost! webwench Linux - Newbie 3 04-30-2005 01:38 AM
Completely lost. Kupo969 Linux - Newbie 12 10-31-2004 04:36 PM
I'm completely lost! powadha Linux - Networking 1 06-14-2004 04:44 PM
completely lost mandrake 9.0 utterconfusion Linux - Newbie 12 07-09-2003 03:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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