There are several things here that you need to do: First, the error (2) tells you that the .sock file is missing which would indicate that the server is not running. With MySQL installed, you would: 1) run mysql_install_db 2) chown mysql data and log directories to owner and group mysql 3) run mysqladmin to create a password for the root user Should be ready to go! Dave -----Original Message----- From: Nick Mudge [mailto:mudgix@hotmail.com] Sent: Wednesday, June 02, 2004 10:23 AM To: suse-linux-e@suse.com Subject: [SLE] MySQL Hello. I am still new to Linux. I recently bought and installed Suse 9.1 professional. From the cds I installed the rpms for the apache 2, php, and MySQL and I think a bunch of other stuff. I really want to get working the apache, PHP and MySQL. I got working the apache and PHP but I can't get working the MySQL. It appears that the MySQL deamon is not on, but I can't get it on. When I type mysqladmin ping i get this: "mysqladmin ping mysqladmin: connect to server at 'localhost' failed error: 'Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' Check that mysqld is running and that the socket: '/var/lib/mysql/mysql.sock' exists!" I tried starting the mysql and this happened: nick@linux:~> su Password: linux:/home/nick # rcmysql start Starting service MySQL failed linux:/home/nick # I don't know what I should do. I am thinking I should reinstall the mysql, but I don't know how to do that. Or maybe I should try to download off the Internet the mysql rpm packages and try to install them with the exiting mysql stuff on my computer. I wouldn't know what things to delete if I installed new mysql stuff. Anyway, please tell me what I should do to get mysql working. Thank you, Nick Mudge _________________________________________________________________ MSN Toolbar provides one-click access to Hotmail from any Web page - FREE download! http://toolbar.msn.click-url.com/go/onm00200413ave/direct/01/ -- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (1)
-
DChristensen@theimg.net