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..
|