Operating Systems > Linux and UNIX

mysql

(1/3) > >>

KernelPanic:
what is the slackware equivalent of
chkconfig mysqld on
in redhat?

Master of Reality:
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 ]

KernelPanic:
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...

Master of Reality:
was mysql installed afterwards or with the Slackware installation?

voidmain:
To start MySQL automatically at system startup you will likely need to add it to the appropriate RC file...

Navigation

[0] Message Index

[#] Next page

Go to full version