It's distributed as part of mysql. The script is responsible for restarting mysqld if it exits with a non zero return code such as when it crashes.
On Mon, Mar 29, 2010 at 2:40 PM, Colin Streicher <co...@obviouslymalicious.com> wrote: > Yeah, its just a shell script that acts as a wrapper around the mysql > processes on debian systems( > maybe others, I'm not sure) > You can read it at 'less /usr/bin/mysqld_safe' > > Colin > > On March 29, 2010 11:51:36 am Glyn Astill wrote: >> --- On Mon, 29/3/10, Brown, Charles <cbr...@bmi.com> wrote: >> > Hello All. when I issued this >> > command: ps -e | grep, I noticed that mysqld_safe was >> > up running in my system. >> > My question is: what is mysqld_safe and why was it >> > running. Please help. >> > >> > >> > [sp...@naxbmisq03 ~]$ ps -e | grep -i mysql >> > 11989 ? 00:00:00 mysqld_safe >> > 12025 ? 13:28:39 mysqld >> >> My understanding is that mysqld_safe is the process used to start mysqld >> and handle any runtime errors, crashes etc. >> > > -- > Anyone who has had a bull by the tail knows five or six more things > than someone who hasn't. > -- Mark Twain > > -- > MySQL General Mailing List > For list archives: http://lists.mysql.com/mysql > To unsubscribe: http://lists.mysql.com/mysql?unsub=eric.ber...@gmail.com > > -- Eric Bergen eric.ber...@gmail.com http://www.ebergen.net -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=arch...@jab.org