[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: mysql + $MYSQL_PWD + backup



W liście z pon, 04-08-2003, godz. 11:14, Maciej Bobrowski pisze: 
> > a mysql -u user --password= nie mo?e by?
> 
> no wlasnie to jest caly problem. Mozna tak zrobic. Pewnie. Bedzie dzialac.
> Ale problem w tym, ze to haslo trzeba wpisac. Jesli to jest skrypt, ktory
> uruchamia sie w cronie to ten skrypt musi skads wziac to haslo. Czyli
> trzeba mu albo wpisac string w pliku (co wlasnie jest niebezpieczne) albo
> jakos moze inaczej.

a moze expect?

jakby nic nie świtało to:

Description: A program that "talks" to other programs
 Expect is a program that "talks" to other interactive programs
 according to a script.  Following the script, Expect knows what
 can be expected from a program and what the correct response
 should be.  An interpreted language provides branching and high-
 level control structures to direct the dialogue.  In addition,
 the user can take control and interact directly when desired,
 afterward returning control to the script.

cayco



Reply to: