Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
10-02-2003, 12:58 AM
|
#1
|
|
LQ Newbie
Registered: Aug 2003
Posts: 16
Rep:
|
mysqld ended..
I'm sure lots of you are probably experiencing this.. I googled around and found this, tried it out and it works perfect.. looks like the owner is incorrect on some of the files in /var/lib/mysql/mysql
They should be owned my the mysql user, not root.
just do this..
chown -R mysql /var/lib/mysql
then either chmod +x /etc/rc.d/rc.mysqld ( if its not already )
reboot.
or, to test it.. run: /usr/bin/mysqld_safe &
voila.
also --- you might have to run mysql_install_db .. not sure if I had to do that first..
|
|
|
|
10-02-2003, 02:21 AM
|
#2
|
|
Member
Registered: Jul 2003
Location: Oslo/Norway
Distribution: Slackware
Posts: 33
Rep:
|
It's also explained in /etc/rc.d/rc.mysqld script which say:
# Before you can run MySQL, you must have a database. To install an initial
# database, do this as root:
#
# su - mysql
# mysql_install_db
#
# 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').
Last edited by w3edr5t; 10-02-2003 at 02:24 AM.
|
|
|
|
10-02-2003, 02:32 AM
|
#3
|
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
Quote:
Originally posted by xdrainox
reboot.
|
This is not needed. Just restart the service not the whole computer!
|
|
|
|
10-02-2003, 09:24 AM
|
#4
|
|
LQ Newbie
Registered: Aug 2003
Posts: 16
Original Poster
Rep:
|
Well, those instructions are a little late.. I think if the install gives you the option of starting it automatically when you boot up, this should be done for you during the install. If someone is bright enough to edit the rc.mysqld script and read the instructions, then I think they are bright enough to chmod +x the script. I don't think it should be a startup option on the install if it's not going to work automatically. That's just my opinion.
and micxz, apparently you didn't read..
Quote:
|
or, to test it.. run: /usr/bin/mysqld_safe &
|
|
|
|
|
10-02-2003, 01:48 PM
|
#5
|
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
We're too late? You posted at " Today 05:58 AM" and we answered just two hours later.
or, to test it.. run: /usr/bin/mysqld_safe &
Is what you want and not rebooting.
|
|
|
|
10-02-2003, 02:00 PM
|
#6
|
|
LQ Newbie
Registered: Aug 2003
Posts: 16
Original Poster
Rep:
|
Quote:
|
We're too late? You posted at " Today 05:58 AM" and we answered just two hours later
|
[Moderator Edit: Please refrain from using abusive language].
What I meant by those instructions being late is.. after you tell Slackware ( in the install ) to start mysqld on boot up, but no tables have been created and it fails to start on bootup.. THAT is too late. Not his or your instructions..
The reason I said reboot is so that people can see that it will startup correctly from the init scripts at bootup. I *also* noted the option of just running /usr/bin/mysqld_safe & to show that it works that way as well. I personally, after adding new services to my system like to reboot and make sure everything starts like it should.
Last edited by Aussie; 10-02-2003 at 04:06 PM.
|
|
|
|
10-02-2003, 02:11 PM
|
#7
|
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
To bad your having such a hard time. You explain yourself much better in the last post I see what you mean now, no need to call names;
I thought we were pretty fast with trying to help.
I will not try to help you anymore.
|
|
|
|
10-02-2003, 03:31 PM
|
#8
|
|
Moderator
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,479
Rep: 
|
xdrainox, I recommend you to re-read the rules you agreed when you signed to this forum: http://www.linuxquestions.org/rules.php
|
|
|
|
10-02-2003, 04:11 PM
|
#9
|
|
LQ Newbie
Registered: Aug 2003
Posts: 16
Original Poster
Rep:
|
Mara,
poop.
micxz,
I apologize for calling you retarded. I was frustrated.
|
|
|
|
10-02-2003, 04:26 PM
|
#10
|
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
No harm done;
I apologize for my quick and stout post;
I understand how these things can be hard to explain;
Click my buddie Icon below? I will do the same;
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:46 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|