How to batch mysql with a hidden password
Posted by: Patrice Patron
Date: August 01, 2005 02:08AM

Hi,

I want to create a specific account for a specific database, we can call him my_db_oper. I want to execute some batches like backup, analyze with this account.

The first solution is

mysql -u my_db_oper -ppassword my_db < my_script

but for security reason I wan't a hidden password have you any idea ?

Thanks

Patrice

Options: ReplyQuote


Subject
Written By
Posted
How to batch mysql with a hidden password
August 01, 2005 02:08AM


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.