Bug #56010 Spaces cause mysqld_safe not to start,my_print_defaults generated invalid output
Submitted: 16 Aug 2010 12:20 Modified: 3 Sep 2010 15:04
Reporter: P Lekensteyn Email Updates:
Status: Verified Impact on me:
None 
Category:MySQL Server: General Severity:S3 (Non-critical)
Version:5.1.49, 4.1, 5.0, 5.1, 5.6.99 OS:Linux (Debian Lenny)
Assigned to: CPU Architecture:Any
Tags: Contribution, my_print_defaults, mysqld_safe, spaces

File: Maximum allowed size is 50MB.
Description:
Privacy:

If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.

To split a large file:

[16 Aug 2010 12:21] P Lekensteyn
Patch file for scripts/mysqld_safe.sh, based on MySQL 5.1.49

Attachment: mysqld_safe.sh.patch (text/x-diff), 2.32 KiB.

[17 Aug 2010 11:29] P Lekensteyn
Patch for mysqld_safe, parse arguments line by line

Attachment: mysqld_safe.sh-print_defaults.patch (text/x-diff), 902 bytes.

[23 Aug 2010 13:08] P Lekensteyn
Patch for mysqld_safe, parse_arguments line by line and import variables in local scope. The old patch wasn't working fully.

Attachment: mysqld_safe-print_defaults-rv2.patch (text/x-diff), 921 bytes.