LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-07-2006, 08:24 PM   #1
markb658
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 69

Rep: Reputation: 15
10.2 and mysql errors


i did a fresh install of slackware, and everythings workin except mysql, i did the usual "su mysql" mysql_install_db and that all worked fine, but now i try to start the server i get errors, if i use

cd /usr ; /usr/bin/mysqld_safe &

i get the error

Starting mysqld daemon with databases from /var/lib/mysql
STOPPING server from pid file /var/lib/mysql/taes.pid
060707 15:40:20 mysqld ended


and if i user /etc/rc.d/rc.mysqld start

bash just hangs on

Starting mysqld daemon with databases from /var/lib/mysql

Any ideas? Cause this is holdin back some sites i need to get up and running again.

Cheers
Mark
 
Old 07-07-2006, 08:48 PM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
you should run mysql_install_db as mysql user, not root user
the solution is to change the owner of /var/lib/mysql into mysql:mysql by using
Code:
chown -R mysql:mysql /var/lib/mysql
 
Old 07-07-2006, 08:54 PM   #3
markb658
Member
 
Registered: Mar 2005
Distribution: Ubuntu 7.10
Posts: 69

Original Poster
Rep: Reputation: 15
Did the job, cheers!
 
  


Reply


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
errors in php/mysql skybell Slackware 13 11-11-2005 10:59 PM
MySQL errors newuser455 Linux - Software 3 03-24-2005 10:48 PM
mysql connection errors smokingkills Linux - Software 0 10-13-2004 09:16 AM
postfix / mysql errors theetderks Linux - Newbie 1 02-04-2004 02:22 PM
MySQL errors Hdata Linux - Distributions 8 04-26-2003 02:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:34 AM.

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