MySQL Forums
Forum List  »  Oracle

Re: sqlplus vs mysql command line tool
Posted by: Carsten Pedersen
Date: July 19, 2004 11:22AM

Not sure if this is what you're after, You can achieve much the same in a single shell script and the MySQL client.

Something akin to

#!/bin/bash
mysql -u root -ppassword -e "SET PASSWORD FOR '$1' = PASSWORD('$2')"

might work.

/ Carsten

Options: ReplyQuote


Subject
Views
Written By
Posted
26838
June 29, 2004 01:45AM
Re: sqlplus vs mysql command line tool
5378
July 19, 2004 11:22AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.