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.
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.
Sorry if this is a simple thing but I have had problems running MySQL. (I am still learning about it with tutorials but would like to use SQL with PHP)
When I try to run it to create a database it says that it can't access the local server through the socket:
/var/lib/mysql/mysql.sock. The file is there but is empty (should it be empty?)
I installed from RPMs on Mandrake 9.1 since I have only been running Linux for about 2 months now.
Maybe I should just learn about sockets and if so could you maybe point me in the right direction.
Are you sure the server's running? The error simply means that client (mysql) can't connect to the server (socket is a method of connection - like when you're using network). The file is not a 'real' file. It just represents the connection.
The file to run the server should be 'safe_mysqld'. In Mandrake, you can use GUI utility or just type from the console
service mysql start
MySQL seems to start OK with service mysql start, but ps doesn't show it. It fails to stop when the machine is shut down, suggesting it never really started properly. I will try out a few other things as well.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.