Bug #59394 | ibbackup can't handle different absolute paths in innodb_data_file_path | ||
---|---|---|---|
Submitted: | 10 Jan 2011 13:39 | Modified: | 20 Apr 2011 11:34 |
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Enterprise Backup | Severity: | S3 (Non-critical) |
Version: | 3.5.1 | OS: | Any |
Assigned to: | Ingo Strüwing | CPU Architecture: | Any |
[10 Jan 2011 13:39]
Shane Bester
[13 Jan 2011 19:01]
Ingo Strüwing
Patch sent to the team for review.
[14 Jan 2011 16:29]
Ingo Strüwing
A possible workaround for UNIX-like platforms could be to set innodb_data_home_dir=// Resulting paths would then look like ///abs/path/ibdata1. This is a valid path on UNIX-like platforms. Note that a similar workaround is *not* possible on Windows. BTW, I didn't get absolute paths in innodb_data_file_path to work on Windows at all. The problem seems to be that InnoDB inserts a directory delimiter (backslash on Windows) between innodb_data_home_dir and the paths from innodb_data_file_path. Resulting paths look like: \C:\abs\path\ibdata1, which is not a valid path on Windows.
[14 Jan 2011 17:32]
Ingo Strüwing
Oops, I have to apologize. Please forgot about the "BTW" paragraph of my last comment. I must have had a faulty test. innodb_data_home_dir="" with absolute paths in innodb_data_file_path does also work for InnoDB on Windows. However, there is still no workaround for ibbackup on Windows.
[27 Apr 2011 17:41]
John Russell
Added to 3.5.3 changelog: A blank value for the innodb_data_home_dir configuration option would cause the ibbackup command to fail. This fix allows you to specify multiple directory names in the innodb_data_file configuration option and specify innodb_data_home_dir with a blank value.