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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I did the mistake of doing an apt-get upgrade on my server. It broke a ton of stuff including mysql.
It just won't start at all. I do /etc/init.d/mysql and nothing happends, at all, no error no nothing. It just won't start and I can't connect to it. I'm panicing because I have tons of data on there, and while I have backups, it's a PIA restoring backups that size.
Here's the exact error I get:
Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /data/intranet/main/tools/phone.php on line 104
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /data/intranet/main/tools/phone.php on line 106
Warning: mysql_query(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /data/intranet/main/tools/phone.php on line 108
Warning: mysql_query(): A link to the server could not be established in /data/intranet/main/tools/phone.php on line 108
SQL Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I also read something about an invalid mysqld.sock file, so if that's the case, how do I get a valid one? I really want to avoid a clean install. I can't afford seperate servers so everything is on this one, including mail, which is #1 PIA to configure on linux. So please help! Thanks.
OMG I never figured it would of been that easy. I just did apt-get install mysql-server and everything magically worked. I only knew to try that because I was trying to setup a php/mysql/apache server at work for development and had read somewhere to install that to make it work, along with a bunch of other things. Given I was in a position to format the server, I had to try a few things first, and it just... worked. And all my data is still there. I have no clue where it's stored though...