Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 03-21-2005, 03:01 AM   #1
Registered: Jan 2004
Location: Somewhere...
Distribution: Fedora Core 4, Slackware 10.1
Posts: 61

Rep: Reputation: 15
MySQL server dies immediately upon startup...

I'm trying to run a MySQL 4.1.10a server in slackware linux... it installed fine and started but when i attempted to restart it, it said this:
STOPPING server from pid file /var/lib/mysql/
050321 01:44:32 mysqld ended
I am clueless about what to do, the pid file only exists when the server is running every time i try to start it it instantly kills itself....

I've tried redoing the install once that did nothing.

any help would be useful! thx

im in slackware 10.1 btw
Old 03-21-2005, 04:13 AM   #2
Registered: Mar 2005
Posts: 31

Rep: Reputation: 15
I would bet a couple of horses on that your datadir hasn't the correct permissions set..

check permissions for /var/lib/mysql/mysql
I had that problem but then the permissions for the mysql dir in the mysql dir was set to root.
Change it to user mysql (chown -R mysql mysql, do this when you are in /var/lib/mysql)

Check also the error-log in /var/lib/mysql/<host>.err (change <host> to YOUR host)

Last edited by MFC; 03-21-2005 at 04:14 AM.
Old 03-22-2005, 08:14 PM   #3
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 323

Rep: Reputation: 31
I have come accross this error it i believe it happened once when the system did not shutdown properley, did that happen to your system? and did it do a fsck afterwards?


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
Network dies almost immediately (FC3) tbthorpe Linux - Wireless Networking 3 09-23-2005 06:09 PM
x server dies...dies...dead! aquaboot Linux - Software 2 08-28-2005 12:54 PM
Apps loading slowly on slack immediately after startup ganja_guru Linux - Software 0 12-14-2003 12:39 AM
Tomcat Works Withouth MySQL and dies with MySQL Guru3 Linux - Software 0 10-19-2003 08:02 AM
Apache server and MySQL server won't run at startup! dday007 Linux - General 2 02-07-2003 03:51 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:15 PM.

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