[olug] mysql how do I get it to start

Jay Swackhamer Jay at RebootTheUser.com
Mon Sep 29 02:19:18 UTC 2003


#to start/stop the server daemon manually
/etc/rc.d/init.d/mysqld stop
/etc/rc.d/init.d/mysqld start

#to list available commands, enter it by itself
/etc/rc.d/init.d/mysqld

#to start at boot
chkconfig mysqld on

> I am using Red Hat 9, and I want to start using MySql on my home system
> so that I can practice using sql statements.  I have installed MySql
> using the red hat package installer.  I picked up the book PHP and MySql
> by Larry Ullman to attempt to learn how to use the MySql.
> I am trying to start mysql and am getting this error msg: ERROR 2002:
> Can't connect to local MySQL server through socket
> '/var/lib/mysql/mysql.sock' (2)
> I tried changing the directory to the var/lib directory but that did not
> help.  I am not finding the correct directory? Have I not installed
> something?  Thanks in advance for any help.  Grant
>
> --
> Francis Geiger <hmcsret at cox.net>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> http://lists.olug.org/mailman/listinfo/olug
>


-- 
Jay Swackhamer
Reboot The User
15791 West Dodge Road
Suite 135
Omaha, NE 68118
(402) 933-6449
(402) 933-6456 Fax
http://www.RebootTheUser.com


More information about the OLUG mailing list