Bug #75283 let mysql_config editor read password from stdin

Submitted: 22 Dec 2014 7:08
Reporter: Shane Bester (Platinum Quality Contributor) Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: Command-line Clients Severity:S4 (Feature request)
Version:5.6.22 OS:Linux
Assigned to: CPU Architecture:Any

[22 Dec 2014 7:08] Shane Bester
Description:
Feature request to allow mysql_config_editor to accept a password from stdin so that one may pipe the password in instead of typing it.

How to repeat:
echo -e "admin\n" | ./mysql_config_editor set --user=admin --host=127.0.0.1 --password
[6 Nov 2015 1:41] Jeff engelmeyer
actually i can use pexect to accomplish what I need to do
[11 Dec 2015 15:56] SÉBASTIEN BOUCHEX BELLOMIÉ
Yes but it does not work on all OS (like Windows) and it needs external tools to be installed.
[7 Jul 2023 10:31] SAIKAT DATTA
Hi Team,
can u share any solution to this query ?

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud

Timestamp references displayed by the system are UTC.
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.