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 02-20-2003, 01:22 AM   #1
steverino
LQ Newbie
 
Registered: Feb 2003
Distribution: Suse 8.1 , Redhat 7.3
Posts: 4

Rep: Reputation: 0
Angry Mysql server will not start using OS Suse 8.1


Hi all,

i already posted this thread in the newbie section but without any response. Hopefully somebody here can help.

i don't know what 2 do anymore so i thought i should give this board a try.
I justly installed a Suse 8.1 on a SCSI system. Everything is working fine except for Mysql. I can't get the d..... thing to run. It is not my first installation and i have done a binary Mysql install about a year ago. I thought i could be able to manage but this Suse version is really getting me frustrated.

Here the messages.

If i start mysql with mysqld & i get

" Fatal Error : Please read "Security" section of the manual to find out how to run mysql as root
Aborting
"
In mysql error log i see this

"/usr/sbin/mysqld: Can't find file './mysql/host.frm' (errno 13)"

Well, thats about it, i tried to uninstall the mysql packages and do a fresh install, but via Yast2 Suse will not uninstall them.

Any ideas.

About 2 go nutts here!!!!

Thx in advance if so!

regards
 
Old 02-22-2003, 05:41 PM   #2
BaerRS
Member
 
Registered: Oct 2001
Location: Columbus, Ohio
Distribution: all.. but mainly SuSe--- looks like it changing to Red Hat
Posts: 119

Rep: Reputation: 15
steverino..

I'm not sure.. you'll have to check on this..

but I believe you will need to start mysql by going doing the following as root:

/etc/init.d/mysqld start

I believe any other way you start it will give you that error.. but I'm not sure. I have all my systems packed up right now.. I'm in the process of moving, buying a house.. and shacking up with friends..(who run windows...)

Anyway... once you start mysql with root.. it will start mysql with the user:group mysql:mysqld (I think those are right)

If this work.. and you want it to start at each boot.. just make the proper enteries in YaST or manually...


Hope this helps...

Scott

Last edited by BaerRS; 02-22-2003 at 05:43 PM.
 
Old 02-22-2003, 07:10 PM   #3
mcleodnine
Senior Member
 
Registered: May 2001
Location: Left Coast - Canada
Distribution: s l a c k w a r e
Posts: 2,731

Rep: Reputation: 45
Not too sure how SuSE 8.1 is doing it but they used to have links to all the startup scripts in the /sbin directory that looked something like 'rcmysql' which was a pointer to the /etc/init.d/mysql script. To use it you would just type in 'rcmysqld start'.
 
Old 03-06-2003, 03:00 AM   #4
kangus
LQ Newbie
 
Registered: Mar 2003
Posts: 5

Rep: Reputation: 0
Angry SUSE 8.1 mySQL Startup SOCK error

If you just installed mySQL or SuSE 8.1 and can't connect to mySQL login as root and enter:
rcmysql start
your \var\lib\mysql\mysql.sock error should not appear anymore and mysqld will startup without telling you to go read the security section of the manual.
 
  


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
how do I start mysql server? barrythai SUSE / openSUSE 4 04-05-2006 05:46 PM
Trying to start Mysql server number11 Linux - Newbie 3 06-06-2005 01:59 PM
Installing MySQL, can't start the server sketchydave Linux - Software 5 05-30-2005 09:09 PM
MySQL server doesn't want to start AJ_Cantos Linux - Software 7 11-29-2004 04:24 PM
How to start mysql server krussell Linux - General 2 01-19-2004 10:24 AM


All times are GMT -5. The time now is 02:58 AM.

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