mysqlhotcopy: error in SQL syntax
Bug #1450803 reported by
leonick
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql-5.5 (Ubuntu) |
Incomplete
|
High
|
leonick | ||
Trusty |
Triaged
|
High
|
Unassigned | ||
Utopic |
Won't Fix
|
High
|
Unassigned |
Bug Description
When the database contains views in different schemas, the Perl script mysqlhotcopy reports the following syntax error:
DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' `<schema>.<view>` READ, `<schema>.<view2>` READ' at line 1 at /usr/bin/
(Exact package version: 5.5.43-
This error can be fixed by the patch, which I have attached to the bug report.
Please incorporate it as soon as possible into the next official release.
Thanks,
leonick
To post a comment you must log in.
Hi!
mysqlhotcopy has been deprecated by upstream (and removed in 5.7). I have a blog post on it here: www.tocker. ca/2014/ 04/17/proposal- to-deprecate- mysqlhotcopy. html
http://
Most importantly, it will not safely back up InnoDB tables (which is the default storage engine from 5.5+).