| List: | General Discussion | « Previous MessageNext Message » | |
| From: | Eugene Kosov | Date: | August 1 2005 2:02pm |
| Subject: | Re: mysql command line execution | ||
| View as plain text | |||
Ehrwin Mina wrote: >> That isn't true. If you make a ps, you will see something like "mysql >> -p x xxxxxxxx ................". >> >> As I said before, you can use something like: >> "mysql -uUser --password=`cat password_file` db" >> > > FYI, > > Nuno is correct you cannot see the password in the 'ps' and my scripts > is just an example you can modify it for more security like putting it a > config file or much better if you can use perl. Don't forget the user > privileges only. > Hm... May be it's OS (or MySQL version) depending stuff but following shows me you're wrong. 1) > uname -r -s FreeBSD 5.3-RELEASE > mysql --version mysql Ver 14.7 Distrib 4.1.6-gamma-nightly-20041014, for unknown-freebsd5.3 (i386) > mysql -ptest -utest & > ps | grep mysql 63841 p5 T 0:00,02 mysql -ptest -utest 2) > uname -r -s SunOS 5.9 > mysql --version mysql Ver 14.11 Distrib 5.0.9-beta, for pc-solaris2.9 (i386) using readline 5.0 > mysql -ptest -utest & > ps -ef | grep mysql | grep test kea 22646 22644 0 15:56:02 pts/4 0:00 mysql -piss_pwd -uiss_usr
| Thread | ||
|---|---|---|
| • mysql command line execution | Jeff Richards | 29 Jul |
| • Re: mysql command line execution | Bruce Dembecki | 29 Jul |
| • Re: mysql command line execution | Michael Stassen | 29 Jul |
| • Re: mysql command line execution | Ehrwin Mina | 29 Jul |
| • Re: mysql command line execution | Michael Stassen | 29 Jul |
| • Re: mysql command line execution | Nuno Pereira | 29 Jul |
| • Re: mysql command line execution | Michael Stassen | 29 Jul |
| • Re: mysql command line execution | Nuno Pereira | 29 Jul |
| • Re: mysql command line execution | Jason Pyeron | 29 Jul |
| • Re: mysql command line execution | Nuno Pereira | 1 Aug |
| • Re: mysql command line execution | Joerg Bruehe | 29 Jul |
| • Re: mysql command line execution | Ehrwin Mina | 1 Aug |
| • Re: mysql command line execution | Eugene Kosov | 1 Aug |
| • RE: mysql command line execution | Edwin Cruz | 1 Aug |
| • Re: mysql command line execution | Nuno Pereira | 1 Aug |
| • Re: mysql command line execution | Nuno Pereira | 2 Aug |
| • Re: mysql command line execution | Nuno Pereira | 3 Aug |
