SlackwareThis 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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HI
I'm trying to get MySQL to run on my server, but when I try to start the daemon (safe_mysqld) it starts with the right path to the databases, but stops immediately again wit the following err-log:
The file host.frm exists, and I have given it chmod 777. I try to start the daemon as root.
I have read that to start and stop MySQL automatically, you could add mysql.server start, and mysql.server stop to the appropriate rc.* files, but witch files are the right ones?
Did you remember to do a "mysql_install_db" first?
Once you've done that you're supposed to check that the owner and group are mysql and the permissions should be 750, I think.
I installed from Slack 8.1 CD.
It seems like the problem was that mysql wasn't the owner of the datafiles from "mysql_install_db". This question seems to be solved.
How about the autostart? Anyone knows anything about that?
That seems good for starting mysql, but will it stop properly without any "stopscript". Have you had any problems with mysql if it just stops with the system?
When I got the (errno: 13)-code, it turned out that the owner of the databasefiles for MySQL was root, and not mysql.This caused my problems.
I logged in as root, and run mysql_install_db, then I changed the owner of the db-files with "chown -R mysql /var/lib/mysql/mysql". That worked for me, maybe it will work for you to?
Good Luck
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/var/run/mysql/mysql.sock' exists!
then I tryed to start mysql service with the usual
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.