Linux - SoftwareThis 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.
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.
Gee that's a little vague you think? Have you even attempted a search or checked the documentation at www.mysql.com ? I actually read most of their online book, its quite good.
ERROR 2002: Can't connect to local MySQL server through socket '/var/run/mysql/mysql.sock' (2)
so i try running mysqld_safe &
and then i get this:
bash-2.05b# Starting mysqld daemon with databases from /var/lib/mysql
040401 07:10:56 mysqld ended
ive done alot of searching here on linuxquestions.org, and it seems to be a common problem, i have tried to do many of the suggestions on other threads but they still dont work
Did you try running mysql_install_db? Of course you did. Because you've read the documentation that comes with mysql. So you also know that you have to run this command as user mysql, right?
What do you expect to happen when you 'run mysql'? And why are you trying to use mysql to start apache? You start apache with the command 'apachectl start' (in Slack, don't know or care about RH). BTW which distro are you talking about?
What do you want to do with mysql?
Since you asked for suggestions, I'd suggest you give some more information.
and i made an error where it says 'apache' it should have been 'mysql'
sorry
ill be using mysql to make databases and tables from what the tutorial im reading tells me haha, sorry im really new to mysql so i dont know too much.
need any more information?
thanks
Edit: oh yeah and i have tried mysql_install_db and i didnt seem to get any errors so then i tried starting mysqld_safe & again and it does the same thing, and then i tried running mysql but it gave me the same error
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.