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:[EMAIL PROTECTED]]
Sent: den 5 juli 2001 12:57
To: Johan Vikerskog (ECS); [EMAIL PROTECTED]
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   

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to