![]() |
|
|
|||
|
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". |
|
|||
|
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 |
|
|||
|
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> |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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". |
|
|||
|
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. |
|
|||
|
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 |
|
|||
|
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. |
|
|||
|
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 |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|