RE: [PHP] Batch job in UNIX.

From: Date: Thu, 05 Jul 2001 11:32:44 +0000
Subject: RE: [PHP] Batch job in UNIX.
Groups: php.general 
Request: Send a blank email to php-general+get-56294@lists.php.net to get a copy of this message
But i want dont want to type in the password. I want to have the password in the command file. //Johan -----Original Message----- From: Alexander Wagner [mailto:wagner@globalpark.de] Sent: den 5 juli 2001 12:57 To: Johan Vikerskog (ECS); php-general@lists.php.net Subject: Re: [PHP] Batch job in UNIX. Johan Vikerskog (ECS) wrote: > If i want to add something into a table with just the mysql command. > Is this possible. > > Like > ./mysql -p -u root test "insert into..." > > Something like this.Is that possible and how in that case. echo "insert into..." | ./mysql -p -u root test or cat filename | ... regards Wagner -- "Isn't it strange? The same people who laugh at gypsy fortune tellers take economists seriously." - Cincinnati Enquirer

« previous php.general (#56294) next »