Stop Microsoft
Operating Systems => Linux and UNIX => Topic started by: KernelPanic on 24 September 2002, 02:09
-
what is the slackware equivalent of
chkconfig mysqld on
in redhat?
-
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 ]
-
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...
-
was mysql installed afterwards or with the Slackware installation?
-
To start MySQL automatically at system startup you will likely need to add it to the appropriate RC file...
-
doing that stuff didnt help my mysql
-
i fixed it.
-
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/ (http://www.linuxplanet.com/linuxplanet/tutorials/1224/3/)
-
you posted a tad late.
-
I noticed.
-
quote:
Originally posted by The Master of Reality / Bob:
i fixed it.
Correction Tux fixed it (http://smile.gif)