Author Topic: mysql  (Read 553 times)

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
mysql
« on: 24 September 2002, 02:09 »
what is the slackware equivalent of
chkconfig mysqld on
in redhat?
Contains scenes of mild peril.

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
mysql
« Reply #1 on: 24 September 2002, 02:12 »
my Q is related.
how do i set mysqld to run at startup in slackware.

Currently when i type 'safe_mysql' it says(or something similar):
starting mysqld daemon in /var/lib/mysql  
mysql end

this is on slackware, how am i supposed to get my sql started.

[ September 23, 2002: Message edited by: The Master of Reality / Bob ]

Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
mysql
« Reply #2 on: 24 September 2002, 20:13 »
My problem was, that I forgot I was using slackware. I assumed things had been done for me, but essentially mySQl had only really been compiled.

Here is how I sorted it, for those who care:

located mysql_install_db and ran it

# chown -R root /usr/share/mysql
# chown -R mysql /var/lib/mysql
# chgrp -R mysql /usr/share/mysql

# safe_mysqld --user=mysql &

After that I set my root password and made a user and made my database and all that malarkey...
Contains scenes of mild peril.

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
mysql
« Reply #3 on: 24 September 2002, 20:36 »
was mysql installed afterwards or with the Slackware installation?
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
mysql
« Reply #4 on: 24 September 2002, 20:46 »
To start MySQL automatically at system startup you will likely need to add it to the appropriate RC file...
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
mysql
« Reply #5 on: 24 September 2002, 20:47 »
doing that stuff didnt help my mysql
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
mysql
« Reply #6 on: 24 September 2002, 20:59 »
i fixed it.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
mysql
« Reply #7 on: 24 September 2002, 20:59 »
If nothing else, try getting the latest MySQL source and following the included directions which should look similar to this:

http://www.linuxplanet.com/linuxplanet/tutorials/1224/3/
Someone please remove this account. Thanks...

Master of Reality

  • VIP
  • Member
  • ***
  • Posts: 4,249
  • Kudos: 177
    • http://www.bobhub.tk
mysql
« Reply #8 on: 24 September 2002, 20:59 »
you posted a tad late.
Disorder | Rating
Paranoid: Moderate
Schizoid: Moderate
Linux User #283518
'It takes more than a self-inflicted gunshot wound to the head to stop Bob'

voidmain

  • VIP
  • Member
  • ***
  • Posts: 5,605
  • Kudos: 184
    • http://voidmain.is-a-geek.net/
mysql
« Reply #9 on: 24 September 2002, 21:00 »
I noticed.
Someone please remove this account. Thanks...

KernelPanic

  • VIP
  • Member
  • ***
  • Posts: 1,878
  • Kudos: 222
mysql
« Reply #10 on: 24 September 2002, 21:17 »
quote:
Originally posted by The Master of Reality / Bob:
i fixed it.


Correction Tux fixed it  
Contains scenes of mild peril.