This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Summary: | Errors when running the sakila-data.sql script | ||
---|---|---|---|
Product: | db | Reporter: | Petr Jiricka <pjiricka> |
Component: | Code | Assignee: | David Vancouvering <davidvc> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | kaa, romanmostyka |
Priority: | P2 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 134307 | ||
Attachments: | SQL execution log file with errors |
Description
Petr Jiricka
2008-06-05 10:55:00 UTC
Created attachment 62403 [details]
SQL execution log file with errors
Looks like a real problem, but expect to fix this as part of the Sakila database work. This actually could be caused because you have not configured MySQL to support international character sets. See http://dev.mysql.com/doc/refman/5.0/en/charset.html and http://cameronyule.com/2008/07/configuring-mysql-to-use-utf-8 Please make sure MySQL is configured correctly and try again. Marking INCOMPLETE until I hear back whether this was the issue or not... Ok, I'll try it out and let you know. Although, I am puzzled as to why MySQL publishes a sample database that does not work out of the box. It probably works out of the box with the mysql command-line interface, but this uses a C-based connectivity library rather than JDBC, and these two may behave differently with regards to how the negotiate the default character set, and also how quoted multibyte strings are handled. But it still could be our bug and our poor handling of multibyte strings in the editor, I just thought you might check and see if this is the problem. Also, I will be providing a plugin on the update center to take care of installing Sakila (Issue 134307), and I will make sure that this works correctly. Once this is done this should no longer be an issue, you can just use the plugin. Any chance to try this again with properly setup MySQL ? I am encountering the same issue when testing Sakila support, so when I get Sakila support in this should be fixed. *** This issue has been marked as a duplicate of 134307 *** |