Jim, On Saturday 17 June 2006 19:49, Patrick Shanahan wrote: > * jim tate <[EMAIL PROTECTED]> [06-17-06 22:13]: > > running app. and getting error; > > "Can't connect to local MySql server through socket > > /var/lib/mysql/mysql.sock" > > > > The path /var/lib/mysql is there but no /mysql.sock , what do I > > have to do in MySql to get /mysql.sock ? > > is the service, mysql, running? > > as root: rcmysql status > if not: rcmysql start
It's not necessary to be root to check the status with "rcmysql status" (thought either /usr/sbin must be in your PATH or you must give the fully qualified path name, "/usr/sbin/rcmysql"). And, of course, you _do_ need to be root to alter the status (i.e., to use the verbs "start", "stop", "restart", "reload", "try-restart" or "force-reload"). Randall Schulz --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]