Bug #42931 | cannot migrate from MS Access database | ||
---|---|---|---|
Submitted: | 17 Feb 2009 13:06 | Modified: | 16 Apr 2013 7:19 |
Reporter: | Wang Lei | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 1.1.12 | OS: | Windows (5.1 2600) |
Assigned to: | CPU Architecture: | Any | |
Tags: | access, gbk, MySQL, utf8 |
[17 Feb 2009 13:06]
Wang Lei
[17 Feb 2009 14:07]
Susanne Ebrecht
Many thanks for writing a bug report. This is JDBC related. I changed category.
[17 Feb 2009 14:17]
Susanne Ebrecht
Which version of MySQL Connector JDBC are you using?
[18 Feb 2009 13:00]
Wang Lei
mysql-connector-java-5.0.4-bin.jar thanks for your answer! sorry for my bad english.
[18 Feb 2009 13:23]
Susanne Ebrecht
Many thanks for your fast feedback. The connector you are using is more then 3 years old. Usually there should not be a problem with GBK in newer connectors. Please try newer JDBC connector. Our actual version is 5.1.7 You can download it here: http://dev.mysql.com/downloads/connector/j/5.1.html
[18 Feb 2009 15:42]
Wang Lei
i used the mysql jdbc connector 5.1.17 downloaded just now (copy 5.1.17 to the directory "MySQL_GUI_Tools_V5.0\java\lib", delete 5.0.4, is this way right?) , error occured as before. i don't know where i could find which mysql jdbc connector i am using.
[19 Feb 2009 11:27]
Wang Lei
i am using the original edition downloaded from the mysql official website, that is "mysql-gui-tools-noinstall-5.0-r12-win32", and do not change anything, any questions?
[20 May 2009 14:47]
Tonci Grgin
Hi Wang. This all looks like your JVM does not support GBK. As you can see in http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html, GBK is supported but only on newer JVM's with Extended Encoding Set (contained in lib/charsets.jar). So, can you: o make sure you have new JAR and full install *with* charsets.jar in lib directory o make sure that's the JAR workbench is picking up If all seems ok, please make small GBK test case like this and run it: System.our.println("some_free_text".getBytes("GBK")) and see if it runs without errors. Only after you can confirm that a) your JRE supports GBK and b) your workbench is picking *that* JRE you should come back to us with details.
[20 Jun 2009 23:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[16 Apr 2013 7:19]
Alexander Soklakov
Hi Wang. There is no feedback since June 2009, so I close the report as "Can't repeat". Please, feel free to reopen it if problem still exists.