PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > comp.unix.shell > not exiting from script after creating a background process!!
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
comp.unix.shell Using and programming the Unix shell.

not exiting from script after creating a background process!!

Réponse
 
LinkBack Outils de la discussion
Vieux 31/05/2007, 12h46   #1
Vinay
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut not exiting from script after creating a background process!!

hi,
i have a written a script for installation of mysql.

The scripts has a stmt ,which starts the mysql server using a stmt

/usr/local/mysql.5.0.41/bin/mysqld_safe --user=mysql&

Following is this are many stmt for midifying the DB..DB also gets
modified but the script gets into a infinte loop.

plzz.. provide a solution..!!

Thanks in advance..

  Réponse avec citation
Vieux 31/05/2007, 13h25   #2
Lew Pitcher
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not exiting from script after creating a background process!!

On May 31, 7:46 am, Vinay <vina...@gmail.com> wrote:
> hi,
> i have a written a script for installation of mysql.
>
> The scripts has a stmt ,which starts the mysql server using a stmt
>
> /usr/local/mysql.5.0.41/bin/mysqld_safe --user=mysql&
>
> Following is this are many stmt for midifying the DB..DB also gets
> modified but the script gets into a infinte loop.
>
> plzz.. provide a solution..!!


plzz provide the script



  Réponse avec citation
Vieux 01/06/2007, 05h57   #3
Vinay
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not exiting from script after creating a background process!!

On May 31, 5:25 pm, Lew Pitcher <lpitc...@teksavvy.com> wrote:
> On May 31, 7:46 am, Vinay <vina...@gmail.com> wrote:
>
> > hi,
> > i have a written a script for installation of mysql.

>
> > The scripts has a stmt ,which starts the mysql server using a stmt

>
> > /usr/local/mysql.5.0.41/bin/mysqld_safe --user=mysql&

>
> > Following is this are many stmt for midifying the DB..DB also gets
> > modified but the script gets into a infinte loop.

>
> > plzz.. provide a solution..!!

>
> plzz provide the script


hi thanks for replying..,
following is the script...

/usr/local/mysql-5.0.41/bin/mysqld_safe --user=mysql& // to start
the server as back ground process.
/usr/local/mysql-5.0.41/bin/mysql -u root</usr/local/create_DB.txt //
logging in as root n creating DB,commands creating DB are in
create_DB.txt


problem as i think is its entering to infinite loop,since its a back
groud processs and never stops..??

/usr/local/mysql-5.0.41/bin/mysqld_safe --user=mysql&

i just want to exit this script and get back to command prompt..

  Réponse avec citation
Vieux 01/06/2007, 06h08   #4
Vinay
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: not exiting from script after creating a background process!!

> hi thanks for replying..,
> following is the script...
>
> /usr/local/mysql-5.0.41/bin/mysqld_safe --user=mysql& // to start
> the server as back ground process.
> /usr/local/mysql-5.0.41/bin/mysql -u root</usr/local/create_DB.txt //
> logging in as root n creating DB,commands creating DB are in
> create_DB.txt
>
> problem as i think is its entering to infinite loop,since its a back
> groud processs and never stops..??
>
> /usr/local/mysql-5.0.41/bin/mysqld_safe --user=mysql&
>
> i just want to exit this script and get back to command prompt..



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 09h52.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10373 seconds with 12 queries