Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
ERROR 2002: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
Next:
mysqld &
Gave me:
[2] 16931
[root@goliath mysql-4.0.12]# Fatal error: Please read "Security" section of the manual to find out how to run mysqld as root!
030608 23:25:54 Aborting
030608 23:25:54 mysqld: Shutdown Complete
Next:
mysqld_safe
Gave me:
Starting mysqld daemon with databases from /usr/var
030608 23:26:41 mysqld ended
Ok, bottom line. I do NOT know anything about MySQL. A friend of mine told me I wanted it to do some web stuff I wanna do, and I think he's right. He does not know what's going on and why this is not working. Could anyone please tell me how to get this up and running with PHP and apache integration? I would be eternally grateful! Thanks a million!!!
Chris
PS. And, please, don't be afraid to treat me like an idiot on this one. Like I said, MySQL = Greek to me!
try that before running the server. i forgot exactly how to run it
but im sure it needs to be run at some point. i think that
is the command that sets up the mysql database and the test
database (the mysql database is VERY important).
Thanks for the reply. Yes, if you look in my original post, I already ran that. Can anyone thing of anything else? I can't even find info on Google about why this is not working. I really need to get this running! Thank you!!
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)'
Check that mysqld is running and that the socket: '/tmp/mysql.sock' exists!
Well, mysqld is not running, but I checked on the /tmp/mysql.sock file anyway and it says:
the server has to be running for mysqladmin to work, when
u run it the sock file is created for you (or somethin like that). Youshould
have to mess with that.
Last edited by Robert0380; 06-09-2003 at 03:43 PM.
Thanks guys. I figured it out. It was a user problem... I just had to reinstall the sourse after deleting and properly re-adding the mysql user... Simple. I figured it was something stupid!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.