Bug #57971 | mysql_library_init() fails in Embedded server v5.5.6 | ||
---|---|---|---|
Submitted: | 4 Nov 2010 10:46 | Modified: | 15 Nov 2010 15:11 |
Reporter: | cedric quilliot | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Embedded Library ( libmysqld ) | Severity: | S2 (Serious) |
Version: | v5.5.6 | OS: | Windows (2003 R2 or XP SP3) |
Assigned to: | Sergey Vojtovich | CPU Architecture: | Any |
Tags: | regression |
[4 Nov 2010 10:46]
cedric quilliot
[5 Nov 2010 2:24]
MySQL Verification Team
Thank you for the bug report.
[11 Nov 2010 13:51]
Sergey Vojtovich
In 5.5 there is no "default-character-set" option, thus server refuse to startup. In 5.1 there is such option with remark that it is deprecated. You may retrieve relevant error message using mysql_error(NULL). http://dev.mysql.com/doc/refman/5.5/en/news-5-5-3.html <quot> ... Incompatible Change: The following obsolete constructs have been removed. Where alternatives are shown, applications should be updated to use them. ... The --default-character-set and --default-collation server options (use --character-set-server and --collation-server). ... </quot>
[15 Nov 2010 13:54]
cedric quilliot
Hello, Thank you very much for this information, now my application works. However, please note that the documentation is a bit confusing since the option "default-character-set" is still valid for client programs, as mentioned here: http://dev.mysql.com/doc/refman/5.5/en/mysql-command-options.html#option_mysql_default-cha... It should be understood that only the _server_ part of the configuration file no longer accept this option. Best regards, Cedric
[15 Nov 2010 15:11]
Sergey Vojtovich
The page mentioned above lists _mysql_ command line tool options, not server options. Server options are listed at: http://dev.mysql.com/doc/refman/5.5/en/server-options.html#option_mysqld_default-character... It says explicitly: --default-character-set was removed in MySQL 5.5.3.