Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 12-18-2010, 09:40 AM   #1
Registered: Apr 2009
Location: El Salvador
Distribution: Slackware -current
Posts: 166

Rep: Reputation: 17
cannot start mysqld?

everytime i try to start mysqld this happens:

root@Slackstigma:/etc/rc.d# ./rc.mysqld start
root@Slackstigma:/etc/rc.d# 101218 09:35:25 mysqld_safe Logging to '/var/lib/mysql/Slackstigma.err'.
101218 09:35:25 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
101218 09:35:26 mysqld_safe mysqld from pid file /var/run/mysql/ ended

and then it just stays there, nothing happens.. what should i do?

Last edited by michaelinux; 12-18-2010 at 11:35 AM.
Old 12-18-2010, 09:44 AM   #2
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,647

Rep: Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958Reputation: 958
read the commented information in /etc/rc.d/rc.mysqld
it's written clearly how to work with MySQL in Slackware
# To start MySQL automatically at boot, be sure this script is executable:
# chmod 755 /etc/rc.d/rc.mysqld

# Before you can run MySQL, you must have a database. To install an initial
# database, do this as root:
# mysql_install_db --user=mysql
# Note that the mysql user must exist in /etc/passwd, and the created files
# will be owned by this dedicated user. This is important, or else mysql
# (which runs as user "mysql") will not be able to write to the database
# later (this can be fixed with 'chown -R mysql.mysql /var/lib/mysql').
1 members found this post helpful.
Old 12-18-2010, 10:27 AM   #3
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Seriously... I think the only way Pat can make that more visible is to check the exit code of starting the daemon and output that message to the user.
Old 03-24-2014, 02:01 PM   #4
LQ Newbie
Registered: Mar 2014
Distribution: Slackware, Arch
Posts: 28

Rep: Reputation: Disabled
I have the same issue and yes I have ran 'mysql_install_db --user=mysql' in fact it was starting after my fresh install and the only thing that has been changed was my httpd.conf.


mysql, start

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] MySQL Start Problem::::socket '/var/run/mysqld/mysqld.sock' (2) arun-linux Linux - Software 6 11-29-2012 06:56 AM
mysqld cannot start raixun Linux - Server 4 09-16-2008 06:54 AM
MYsqld start problem rinos Linux - Server 1 06-23-2008 04:05 AM
how can i start mysqld? yenonn Slackware 6 11-28-2003 09:32 PM
mysqld start linuxRules Linux - General 1 07-21-2002 03:06 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:37 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration