[Gllug] Mysql Start script

Alistair Mann alistair at lgeezer.net
Wed May 14 12:24:35 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Thus spaketh Grzegorz Jaskiewicz on Wednesday 14 May 2003 12:32 pm:
> On Wed, 2003-05-14 at 12:14, Neil Fryer wrote:
> > Hi All,
> >
> > I am trying to start MySQL when the system boots, and I have just created
> > a one liner to do this, and it won't work, can anyone tell me why, or
> > give me a link to where I can create this script properly, as this is
> > what mine looks like:
> >
> > /usr/local/mysql/bin/safe_mysqld &
> >
> > And I get the error saying:
> >
> >
> > The file /usr/local/mysql/libexec/mysqld doesn't exist or is not
> > executable Please do a cd to the mysql installation directory and restart
> > this script from there as follows:
> > ./bin/safe_mysqld.
>
> Just read this message and do what it tells you to do.
> I is simple
> cd /usr/local/mysql/
> ./bin/safe_mysqld &
> and that is it
>
> you should use package for your distro or create scripts in /etc/init.d
> maybe you should take existing ones for your distro and just use them -
> they should work with any version of mysql you have :-)

FYI, the original source comes with a file called mysql_server in 
./support_scripts intended to be used as the start | stop script in 
/etc/init.d. I imagine rpms, debs etc will also include that file. 
- -- 
Alistair
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+wjWDmxw6F+mBuhURAnfJAJ48J2vW4I25xnMYHuLrsndwu0HFmQCeIRco
aiDmkA6R5mM4A828a+DRJrA=
=+6K+
-----END PGP SIGNATURE-----



-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list