Go Back   { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Slackware

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-2008, 12:29 AM
Ron Gibson
 
Posts: n/a
Slack 12.1 Mysql fails to load daemon mysqld

I saw an extensive google thread on this with about 100 posts most of
which where trash talk - just a bone, no meat.

While this worked fine on Slack 11 I can't figure what is wrong. My
real goal is to install MythTV (Slackbuild) and it requires mysql to be
running so as to create the myth DB - However I can't get the damn
thing to start (Yes I made /etc/rc.d/rc.mysqld executable).

It tries to start and then errors saying a PID called for an exit.

I read a bunch of those posts and nothing I tried helped albeit it was
a hodge podge of comments and insults.

Can anyone clear up this issue or perhaps point me to a no nonsense
explanation of what needs to be done to get mysqld daemon loaded?

--
Email - rsgibson@verizon.borg
Replace borg with net
"Ubuntu" - an African word, meaning "Slackware is too hard for me".

Reply With Quote
  #2 (permalink)  
Old 07-15-2008, 01:24 AM
Charles Polisher
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

Ron Gibson <rsgibson@verizon.net> wrote:
> I saw an extensive google thread on this with about 100 posts most of
> which where trash talk - just a bone, no meat.
>
> While this worked fine on Slack 11 I can't figure what is wrong. My
> real goal is to install MythTV (Slackbuild) and it requires mysql to be
> running so as to create the myth DB - However I can't get the damn
> thing to start (Yes I made /etc/rc.d/rc.mysqld executable).
>
> It tries to start and then errors saying a PID called for an exit.
>
> I read a bunch of those posts and nothing I tried helped albeit it was
> a hodge podge of comments and insults.
>
> Can anyone clear up this issue or perhaps point me to a no nonsense
> explanation of what needs to be done to get mysqld daemon loaded?


Start by looking in /var/mysql/data/<hostname>.err.
Tell us what you see there.

Best regards,

--
Charles
Reply With Quote
  #3 (permalink)  
Old 07-15-2008, 02:47 AM
xgizzmo@gmail.com
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

On Jul 14, 8:29 pm, Ron Gibson <rsgib...@verizon.net> wrote:
>
> Can anyone clear up this issue or perhaps point me to a no nonsense
> explanation of what needs to be done to get mysqld daemon loaded?


The needed steps are listed in the rc.mysqld script itself.
<snip>
# Before you can run MySQL, you must have a database. To install an
initial
# database, do this as root:
#
# mysql_install_db --user=mysql
<snip>
Reply With Quote
  #4 (permalink)  
Old 07-15-2008, 03:27 AM
Vincent Batts
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

On 2008-07-15, Ron Gibson <rsgibson@verizon.net> wrote:
> I saw an extensive google thread on this with about 100 posts most of
> which where trash talk - just a bone, no meat.
>
> While this worked fine on Slack 11 I can't figure what is wrong. My
> real goal is to install MythTV (Slackbuild) and it requires mysql to be
> running so as to create the myth DB - However I can't get the damn
> thing to start (Yes I made /etc/rc.d/rc.mysqld executable).
>
> It tries to start and then errors saying a PID called for an exit.
>
> I read a bunch of those posts and nothing I tried helped albeit it was
> a hodge podge of comments and insults.
>
> Can anyone clear up this issue or perhaps point me to a no nonsense
> explanation of what needs to be done to get mysqld daemon loaded?
>


meat and potatoes

http://slackwiki.org/MySQL_Configuration

vb
Reply With Quote
  #5 (permalink)  
Old 07-15-2008, 03:30 AM
Res
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

On Mon, 14 Jul 2008, Charles Polisher wrote:

>
> Ron Gibson <rsgibson@verizon.net> wrote:
>> I saw an extensive google thread on this with about 100 posts most of
>> which where trash talk - just a bone, no meat.
>>
>> While this worked fine on Slack 11 I can't figure what is wrong. My
>> real goal is to install MythTV (Slackbuild) and it requires mysql to be
>> running so as to create the myth DB - However I can't get the damn
>> thing to start (Yes I made /etc/rc.d/rc.mysqld executable).
>>
>> It tries to start and then errors saying a PID called for an exit.
>>
>> I read a bunch of those posts and nothing I tried helped albeit it was
>> a hodge podge of comments and insults.
>>
>> Can anyone clear up this issue or perhaps point me to a no nonsense
>> explanation of what needs to be done to get mysqld daemon loaded?

>
> Start by looking in /var/mysql/data/<hostname>.err.
> Tell us what you see there.


10 to 1 it's a permissions error,

/var/run/mysql should be owned by mysql so it can write the sock file



--
Cheers
Res
--- Usenet policy, and why I might ignore you ---
1/ GoogleGroups are UDP'd on my nntp server. If you use them, don't
waste your time or energy replying to me.

2/ If only cleanfeed filtered out trolls as well as spam, usenet would be
a nicer place.
Reply With Quote
  #6 (permalink)  
Old 07-15-2008, 12:31 PM
Ron Gibson
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

On Tue, 15 Jul 2008 13:30:48 +1000, Res wrote:

>> Start by looking in /var/mysql/data/<hostname>.err.
>> Tell us what you see there.


> 10 to 1 it's a permissions error,


> /var/run/mysql should be owned by mysql so it can write the sock file


I found a guide on mysql.com - I needed to setup the initializing DB's.
Maybe it's been too long but I don't recall having to do that in the
past to load the daemon.

In any event it works now, Thanks all.

--
Email - rsgibson@verizon.borg
Replace borg with net
"Ubuntu" - an African word, meaning "Slackware is too hard for me".

Reply With Quote
  #7 (permalink)  
Old 07-15-2008, 10:28 PM
Res
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

On Tue, 15 Jul 2008, Ron Gibson wrote:

>
> On Tue, 15 Jul 2008 13:30:48 +1000, Res wrote:
>
>>> Start by looking in /var/mysql/data/<hostname>.err.
>>> Tell us what you see there.

>
>> 10 to 1 it's a permissions error,

>
>> /var/run/mysql should be owned by mysql so it can write the sock file

>
> I found a guide on mysql.com - I needed to setup the initializing DB's.
> Maybe it's been too long but I don't recall having to do that in the
> past to load the daemon.


You've always had to do that :)

In fact I'm sure rc.mysqld states it as well

>
> In any event it works now, Thanks all.
>


Good to here.

>


--
Cheers
Res
--- Usenet policy, and why I might ignore you ---
1/ GoogleGroups are UDP'd on my nntp server. If you use them, don't
waste your time or energy replying to me.

2/ If only cleanfeed filtered out trolls as well as spam, usenet would be
a nicer place.
Reply With Quote
  #8 (permalink)  
Old 07-17-2008, 04:13 PM
notbob
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

On 2008-07-15, Vincent Batts <vbatts@cardinal.lizella.net> wrote:

> meat and potatoes
>
> http://slackwiki.org/MySQL_Configuration


Yes.

Option 1 is all that is required to get basic mysql server enabled and
running in a std full slack 12.1 install.

nb
Reply With Quote
  #9 (permalink)  
Old 07-17-2008, 11:22 PM
Res
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

On Thu, 17 Jul 2008, notbob wrote:

>
> On 2008-07-15, Vincent Batts <vbatts@cardinal.lizella.net> wrote:
>
>> meat and potatoes
>>
>> http://slackwiki.org/MySQL_Configuration

>
> Yes.
>
> Option 1 is all that is required to get basic mysql server enabled and
> running in a std full slack 12.1 install.


those steps are not needed, and are darn right messy, you mean you give
a daemon a usable SHELL? *shakes head* its how it "used to be", but again
the rc.mysqld file tells you what to do without that.

Hrmm maybe we should modify it with a test that dies :)


--
Cheers
Res
--- Usenet policy, and why I might ignore you ---
1/ GoogleGroups are UDP'd on my nntp server. If you use them, don't
waste your time or energy replying to me.

2/ If only cleanfeed filtered out trolls as well as spam, usenet would be
a nicer place.
Reply With Quote
  #10 (permalink)  
Old 07-19-2008, 04:28 PM
notbob
 
Posts: n/a
Re: Slack 12.1 Mysql fails to load daemon mysqld

On 2008-07-17, Res <res@ausics.net> wrote:


> Hrmm maybe we should modify it with a test that dies :)


Hrmm maybe you should elaborate on a better way instead of just criticizing
like some crpytic know-it-all. :)

nb
Reply With Quote
Reply

  { mindfrost82.com } > Gadget Corner > Tech Newsgroups > Linux > Slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:48 AM.


Powered by vBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
© 1999-2008 mindfrost82.com v11.0


Sponsors:
Personal Car Finance | Justin Gatlin | Credit Cards | Car Finance | Car Insurance



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109