RHEL Auto Start / stop mysql???

RHEL Auto Start / stop mysql???

am 12.08.2010 22:30:12 von Nunzio Daveri

--0-344184483-1281645012=:69100
Content-Type: text/plain; charset=us-ascii

Hi all, I just installed the no-install version of mysql 5.1.44 on our RHEL 5
box AFTER I yum removed the older 4.X version. The question is how do I tell
RHEL to auto start and stop mysql when I have to reboot the server? I know that
if you use an rpm or a yum it kinda / sorta created a mysqld startup script in
/etc/init.d but what all do I have to have and how do I set it up please since
all I did was untar the file and then type in mysql_5/bin/mysqld_safe &?

I tried using the service command, but no luck there either.

Any help is much appreciated...

Nunzio



--0-344184483-1281645012=:69100--

Re: RHEL Auto Start / stop mysql???

am 12.08.2010 22:40:32 von Guifre Bosch Fabregas

--00163630fd5faf159b048da6608d
Content-Type: text/plain; charset=ISO-8859-1

hi Nunzio!

Sorry but my english is very poor... (reading and writing! Thanks
http://translate.google.com/ ! )

At first can you install yet mysql?
If you have installet yet mysql you can go to /etc/init.d and look if the
startup script is in this directory.

I understand your question right?








2010/8/12 Nunzio Daveri

> Hi all, I just installed the no-install version of mysql 5.1.44 on our RHEL
> 5
> box AFTER I yum removed the older 4.X version. The question is how do I
> tell
> RHEL to auto start and stop mysql when I have to reboot the server? I know
> that
> if you use an rpm or a yum it kinda / sorta created a mysqld startup script
> in
> /etc/init.d but what all do I have to have and how do I set it up please
> since
> all I did was untar the file and then type in mysql_5/bin/mysqld_safe &?
>
> I tried using the service command, but no luck there either.
>
> Any help is much appreciated...
>
> Nunzio
>
>
>




--
Guifre Bosch Fabregas
Tlf.: 687911075

--00163630fd5faf159b048da6608d--

Re: RHEL Auto Start / stop mysql???

am 12.08.2010 22:49:47 von Nunzio Daveri

--0-506909538-1281646187=:33885
Content-Type: text/plain; charset=us-ascii

Hi Guifre, thanks for answering. I already have mysql installed and works just
fine, but I did untar and then go to folder and run. I used what is called
mysql no-install so no yum, rpm etc.. No files in /etc/init.d and no startup or
services script since this is using the no-install version.

Thanks...

Nunzio




________________________________
From: Guifre Bosch Fabregas
To: Nunzio Daveri
Cc: mysql@lists.mysql.com
Sent: Thu, August 12, 2010 3:40:32 PM
Subject: Re: RHEL Auto Start / stop mysql???

hi Nunzio!

Sorry but my english is very poor... (reading and writing! Thanks
http://translate.google.com/ ! )

At first can you install yet mysql?
If you have installet yet mysql you can go to /etc/init.d and look if the
startup script is in this directory.

I understand your question right?









2010/8/12 Nunzio Daveri

Hi all, I just installed the no-install version of mysql 5.1.44 on our RHEL 5
>box AFTER I yum removed the older 4.X version. The question is how do I tell
>RHEL to auto start and stop mysql when I have to reboot the server? I know
that
>if you use an rpm or a yum it kinda / sorta created a mysqld startup script in
>/etc/init.d but what all do I have to have and how do I set it up please since
>all I did was untar the file and then type in mysql_5/bin/mysqld_safe &?
>
>I tried using the service command, but no luck there either.
>
>Any help is much appreciated...
>
>Nunzio
>
>
>


--
Guifre Bosch Fabregas
Tlf.: 687911075




--0-506909538-1281646187=:33885--

Re: RHEL Auto Start / stop mysql???

am 13.08.2010 10:06:21 von Jaime Crespo

2010/8/12 Nunzio Daveri :
> Hi Guifre, thanks for answering.  I already have mysql installed and=
works just
> fine, but I did untar and then go to folder and run.  I used what is=
called
> mysql no-install so no yum, rpm etc..  No files in /etc/init.d and n=
o startup or
> services script since this is using the no-install version.

Nunzio:

You will find an example init.d script on
$MYSQL_INSTAL_DIR/support-files/mysql.server

Follow the instructions corresponding to your distribution to setup
it. Generic instructions can be found here:

http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html

--=20
Jaime Crespo
MySQL & Java Instructor
Warp Networks


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dgcdmg-mysql-2@m.gmane.o rg

Re: RHEL Auto Start / stop mysql???

am 19.08.2010 17:38:08 von Mike Spreitzer

--=_alternative 0055E36885257784_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

In case you have not already discovered it, the clue you need is the `
chkconfig --level 345 mysql on` shell command mentioned in that web page.=20
In your system it is not enough to have a script in /etc/rc.d/init.d/, you =

also need links in your /etc/rc.d/rc{runlevel}.d/ directories.

Regards,
Mike Spreitzer




From: Jaime Crespo Rinc=F3n
To: Nunzio Daveri
Cc: Guifre Bosch Fabregas ,=20
mysql@lists.mysql.com
Date: 08/13/2010 04:07 AM
Subject: Re: RHEL Auto Start / stop mysql???



2010/8/12 Nunzio Daveri :
> Hi Guifre, thanks for answering. I already have mysql installed and=20
works just
> fine, but I did untar and then go to folder and run. I used what is=20
called
> mysql no-install so no yum, rpm etc.. No files in /etc/init.d and no=20
startup or
> services script since this is using the no-install version.

Nunzio:

You will find an example init.d script on
$MYSQL=5FINSTAL=5FDIR/support-files/mysql.server

Follow the instructions corresponding to your distribution to setup
it. Generic instructions can be found here:

http://dev.mysql.com/doc/refman/5.1/en/automatic-start.html

--=20
Jaime Crespo
MySQL & Java Instructor
Warp Networks


--=20
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=3Dmspreitz@us.ibm.com



--=_alternative 0055E36885257784_=--