Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-23-2012, 05:42 AM   #1
Registered: Apr 2011
Distribution: OpenSuse 12.3 , Slackware 13.1 ; Centos 6.2 ; Fedora 14
Posts: 90

Rep: Reputation: 8
Unable to start mysql in slackware

Hi folks,

I am using slackware 13.1. I am unable to start mysqld in it.
This is giving me the following output
mysqld_safe Logging to '/var/lib/mysql/EDGE_SERVER.err'.
mysqld_safe Starting mysql daemon with databases from /var/lib/mysql
mysqld_safe mysql from pid file /var/run/mysql/ ended
And it freezes. Kindly guide me as to how can I start my mysql server.

Thanking You
Old 01-23-2012, 05:46 AM   #2
Senior Member
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 242Reputation: 242Reputation: 242
Did you read the rc.mysqld comment, eg:
# 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').
Old 01-23-2012, 05:55 AM   #3
Satyaveer Arya
Senior Member
Registered: May 2010
Location: Palm Island
Distribution: RHEL, CentOS, Debian, Oracle Solaris 10
Posts: 1,415

Rep: Reputation: 305Reputation: 305Reputation: 305Reputation: 305
It could be the permission problem.

In /etc/rc.d/rc.mysqld file you must do su - mysql etc.....
# Note that step one is becoming the mysql user. It's important to do this
# before making any changes to the database, or mysqld won't be able to write
# to it later (this can be fixed with 'chown -R mysql.mysql /var/lib/mysql').
Old 01-23-2012, 06:01 AM   #4
Registered: Apr 2011
Distribution: OpenSuse 12.3 , Slackware 13.1 ; Centos 6.2 ; Fedora 14
Posts: 90

Original Poster
Rep: Reputation: 8
Thanks a lot. .


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
After moving mysql db to NFS[netapp] unable to start mysql server throws error naveenrajn Linux - General 3 09-13-2010 02:20 AM
Unable to start mysql Red Squirrel Linux - Software 2 01-31-2009 11:38 PM
unable to start mysql alee Linux - Software 3 05-14-2008 05:56 AM
MySQL in Slackware 10 , how to start ? ? ? caovankhanhvn Programming 2 08-13-2004 11:51 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:16 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