Bug #31628 | can't create table with chinese tablename of odd characters | ||
---|---|---|---|
Submitted: | 16 Oct 2007 5:32 | Modified: | 19 Nov 2007 13:46 |
Reporter: | todiff wu | Email Updates: | |
Status: | Won't fix | Impact on me: | |
Category: | MySQL Server: Charsets | Severity: | S2 (Serious) |
Version: | 5.0.44sp1 | OS: | Windows |
Assigned to: | Alexander Barkov | CPU Architecture: | Any |
Tags: | charset, Chinese, CREATE TABLE |
[16 Oct 2007 5:32]
todiff wu
[18 Oct 2007 1:29]
todiff wu
Miguel, I tried to modify the status to verified,but it was so odd that I couldn't change it, only open or closed was available for me to select,nay, i can't unassign myself. I had used Query Browser to replace mysql.exe to do that, the same error no 22 occored. I will test it again using Query Browser and attach the error image later on, and Sean had reminded me to use linux mysql client to do that too, I will test that once linux OS is installed on my VM then upload the testing result. Thanks.
[18 Oct 2007 3:40]
todiff wu
testing using Query Browser,the same errno 22.
Attachment: executing_on_QBrowser_of_win_01.gif (image/gif, text), 140.42 KiB.
[16 Nov 2007 8:26]
todiff wu
I have tested connecting from mysql client of version 5.0.44sp1 on Linux to mysql server 5.0.44SP1 on Windows platform, but the same result occurs again as follow: mysql> set names gbk; Query OK, 0 rows affected (0.00 sec) mysql> create table 中国大使馆 (id int); ERROR 1005 (HY000): Can't create table '涓澶т娇棣' (errno: 22)
[19 Nov 2007 13:46]
Alexander Barkov
This problem was fixed in 5.1 by introducing so called "table name to file name encoding". It won't be fixed in 5.0. You have either to switch to 5.1, or avoid using Chinese characters in table names.