Bug #9966 | mysqld_multi stop show clear password listing processes with ps | ||
---|---|---|---|
Submitted: | 18 Apr 2005 7:31 | Modified: | 21 Jan 2006 9:07 |
Reporter: | Francesco Dalla Ca' | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S2 (Serious) |
Version: | 4.1.11 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[18 Apr 2005 7:31]
Francesco Dalla Ca'
[20 Dec 2005 15:59]
Aleksey Kishkin
I think it's not a feature request but rather bugreport. mysql password certainly must not be seen in the process list.
[21 Dec 2005 9:07]
Valeriy Kravchuk
Thank you for a problem report. mysqladmin is just one of the MySQL clients. The following manual page, http://dev.mysql.com/doc/refman/5.0/en/password-security.html, describes the way to solve the problem, I think: "Store your password in an option file. For example, on Unix you can list your password in the [client] section of the .my.cnf file in your home directory: [client] password=your_pass If you store your password in .my.cnf, the file should not be accessible to anyone but yourself. To ensure this, set the file access mode to 400 or 600. For example: shell> chmod 600 .my.cnf" So, please, do not provide password for mysql_multi at all, but use this option file. Inform about the results.
[22 Jan 2006 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".