Bug #20961 | The Server does not accept collation changes in my.cnf | ||
---|---|---|---|
Submitted: | 11 Jul 2006 7:17 | Modified: | 18 Jul 2006 16:07 |
Reporter: | Lenz Grimmer | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Charsets | Severity: | S3 (Non-critical) |
Version: | 5.0.23 | OS: | Linux (SUSE Linux 10.1) |
Assigned to: | CPU Architecture: | Any |
[11 Jul 2006 7:17]
Lenz Grimmer
[12 Jul 2006 1:10]
Peter Laursen
This works fine on SuSE 10.0 (and WinXP) (and is what 'MySQL Administrator' does) my.cnf settings: ================ #Set the default character set. default-character-set=latin1 #Set the default collation. default-collation=latin1_danish_ci .. and after restart of server: =============================== show variables like '%character_set_s%'; Variable_name Value -------------------- ------ character_set_server latin1 character_set_system utf8 show variables like '%collation_server%'; Variable_name Value ---------------- ---------------- collation_server latin1_danish_ci BTW: I think you use the settings in both the [mysqld] and the [client] section of my.cnf. And here MySQL Administrator has no option to write to the [client] section what I have complained about elsewhere!
[12 Jul 2006 1:22]
Peter Laursen
BTW: I think you SHOULD use the settings ...
[18 Jul 2006 16:07]
MySQL Verification Team
Still I am not able to repeat on Suse 10, source server version.
[14 Jan 2007 21:08]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/18099 ChangeSet@1.2377, 2007-01-15 01:11:56+04:00, holyfoot@mysql.com +5 -0 bug #20961 (DEFAULT for NO DEFAULT may insert garbage) GEOMETRY field fixed - now it returns an error in this case.