Bug #52690 | charsets and mysqldump | ||
---|---|---|---|
Submitted: | 8 Apr 2010 12:55 | Modified: | 20 Apr 2010 19:09 |
Reporter: | Susanne Ebrecht | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S2 (Serious) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any |
[8 Apr 2010 12:55]
Susanne Ebrecht
[15 Apr 2010 14:43]
Alfredo Kojima
WB already uses --default-character-set=utf8 in mysql cmdline client when importing. However, the problem with mysqldump itself persists, so I am recategorizing it to a Server bug, as agreed upon by Susanne.
[20 Apr 2010 19:09]
Jim Winstead
I don't see the problem in this poorly-written bug report. The first big block of variable setting by mysqldump circa 5.1 contains this: /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; Indeed, mysqldump by default always dumps everything using utf8 unless you specifically tell it not to do so, and does a lot of superfluous setting and resetting of the client character set, but I don't see any actual bug here.