Bug #1493 | mysqldump puts table names in different cases | ||
---|---|---|---|
Submitted: | 6 Oct 2003 22:07 | Modified: | 9 Apr 2008 6:17 |
Reporter: | Ilia Chirchov | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | ./mysqldump Ver 9.08 Distrib 4.0.15a | OS: | Any (unknown-freebsd4.8 (i386)) |
Assigned to: | Sergei Golubchik | CPU Architecture: | Any |
[6 Oct 2003 22:07]
Ilia Chirchov
[6 Oct 2003 22:47]
Ilia Chirchov
problem fixes by renaming files of myisam database in mysql data directory into lower case.
[11 Oct 2003 7:39]
MySQL Verification Team
The issue here is the Windows behavior which is from NT and above SENSITIVE for write and INSENSITIVE for read. I am assigning here PeterG for to analyze this case as feature request for MySQL to handle it internally and not dependent of OS (Windows).
[11 Oct 2003 13:46]
MySQL Verification Team
According Sergei's request here the 'show tables' and 'show create table' results on Windows: mysql> create table MYmixTABLE (id int); Query OK, 0 rows affected (0.03 sec) mysql> show tables\G *************************** 2. row *************************** Tables_in_test: mymixtable 3 rows in set (0.00 sec) mysql> show create table MYmixTABLE\G *************************** 1. row *************************** Table: MYmixTABLE Create Table: CREATE TABLE `mymixtable` ( `id` int(11) default NULL ) TYPE=MyISAM 1 row in set (0.01 sec)
[11 Oct 2003 14:50]
Sergei Golubchik
We failed to repeat the bug :( Illia, what is the version of the server ? The mysqld server that you use on windows ? mysqldump version is not releant, as it's the server issue.
[16 Nov 2003 8:13]
Jason Pyeron
I have this on a win2k machine. it seems to be a problem with mysqld use of the file system on ntfs ntfs is case-sensitive. the os ontop of it is NOT. hence it is case preserving, (there are more caveats but you need to funny stuff to get to them) the proper solution is not UPPERCASE the data files on create table xxx
[16 Nov 2003 8:17]
Jason Pyeron
sorry, here are my specs for win2k(cygwin) laptop, which has same type problems. Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 40 to server version: 4.0.15-max-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> \s -------------- c:\mysql\bin\mysql.exe Ver 12.21 Distrib 4.0.15, for Win95/Win98 (i32) Connection id: 40 Current database: rejistor Current user: rejistor@localhost SSL: Not in use Server version: 4.0.15-max-debug Protocol version: 10 Connection: localhost via TCP/IP Client characterset: latin1 Server characterset: latin1 TCP port: 3306 Uptime: 3 days 21 hours 48 min 17 sec Threads: 1 Questions: 824 Slow queries: 0 Opens: 63 Flush tables: 1 Open tables: 0 Queries per second avg: 0.002 Memory in use: 8318K Max memory used: 8880K -------------- mysql>
[9 Apr 2008 6:17]
Susanne Ebrecht
Many thanks for writing a bug report. Besides of the lower/upper case problem between Unix and Windows this problem don't occur on newer versions of MySQL. I will close this bug now, because there is no MySQL bug anymore.