| Bug #69044 | "mysql_secure_installation" password prompts are escaping backslashes | ||
|---|---|---|---|
| Submitted: | 23 Apr 2013 20:31 | Modified: | 9 Dec 2016 9:49 | 
| Reporter: | Krzysztof Nazarewski | Email Updates: | |
| Status: | Closed | Impact on me: | |
| Category: | MySQL Server: Installing | Severity: | S3 (Non-critical) | 
| Version: | 15.1 Distrib 5.5.30-MariaDB | OS: | Linux (Linux drag0nius.pl 3.8.7-1-ARCH #1 SMP PREEMPT Sat Apr 13 09:01:47 CEST 2013 x86_64 GNU/Linux) | 
| Assigned to: | CPU Architecture: | Any | |
   [23 Apr 2013 20:31]
   Krzysztof Nazarewski        
  
 
   [23 Apr 2013 20:51]
   Elena Stepanova        
  To MySQL verification team: Please note that on Ubuntu the whole thing works incorrectly due to https://bugs.launchpad.net/ubuntu/+source/dash/+bug/259671 , it might be quite confusing. Apparently, somewhere inside basic_single_escape where the buggy echo is used, mysql_secure_installation converts a password with a backslash into some rubbish, so it might be problematic to connect to the server afterwards.
   [23 Apr 2013 21:30]
   MySQL Verification Team        
  Please check if your are affected by Elena pointed. Thanks.
   [26 Apr 2013 15:27]
   Krzysztof Nazarewski        
  I am not affected by anything except that improper invocation of "read" command.
   [20 May 2013 12:42]
   MySQL Verification Team        
  Hello Krzysztof, Thank you for the report. Verified as described. Thanks, Umesh
   [9 Dec 2016 9:49]
   Terje Røsten        
  Posted by developer:
 
Fixed by:
commit 2fb9344d2ab546402705e8d7203616d7487f5e35
Author: Vamsikrishna Bhagi <vamsikrishna.bhagi@oracle.com>
Date:   Tue Aug 13 21:47:28 2013 +0530
    WL#6441 Convert mysql_secure_installation script to C
 
