Bug #38219 | Database Related Issue | ||
---|---|---|---|
Submitted: | 18 Jul 2008 6:24 | Modified: | 4 Aug 2008 13:54 |
Reporter: | Jayant Patil | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Data Types | Severity: | S1 (Critical) |
Version: | 4.1.22 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | autoincrement, BIGINT, Database Related Issue, datatype, duplicate keys |
[18 Jul 2008 6:24]
Jayant Patil
[18 Jul 2008 11:33]
Susanne Ebrecht
Many thanks for reporting a bug. Unfortunately MySQL 4.1.22 is a really old version. Please upgrade first to MySQL 5.0.51b. Also your problem not looks like a bug. Bug system is not the appropriate forum for asking help on using MySQL products. Support on using our products is available both free in our forums at http://forums.mysql.com/ and for a reasonable fee direct from our skilled support engineers at http://www.mysql.com/support/ If you have problems with newer version and our support couldn't help you too then please make a short test that we can use for reproduce your problem. Thank you for your interest in MySQL.
[19 Jul 2008 6:01]
Jayant Patil
Do really the change of version will help the solution. I am not really confirm about it, as our server administrator has reasoning the other things. See what our administrator says: "We have checked the server. Mysql is working fine on the server. Nothing on the server end can cause such an issue. You will need to check the code once. Or it can only happen if you are logging in from multiple locations and working on mysql." Is this possible or the very inappropriate answer? I really appreciate your point of view. I would request our server administrator to upgrade the same. Thanks.
[19 Jul 2008 12:15]
Valeriy Kravchuk
Please, send the results of: show table status like 'admaster';
[21 Jul 2008 5:23]
Jayant Patil
Thanks for your reply. ---------------------------------------------------------------------- The request query: SHOW TABLE STATUS LIKE 'admaster'; The result as per: Name: admaster Engine: InnoDB Version: 9 Row_format: Dynamic Rows: 10933 Avg_row_length: 720 Data_length: 7880704 Max_data_length: NULL Index_length: 0 Data_free: 0 Auto_increment: 16285 Create_time: 2008-07-19 10:54:20 Update_time: NULL Check_time: NULL Collation: latin1_swedish_ci Checksum: NULL Create_options: Comment InnoDB free: 49152 kB -------------------------------------------------------------------- Kindly look for the same and confirm.
[21 Jul 2008 11:16]
Sveta Smirnova
Thank you for the feedback. You said "For temporary purpose, I change the length of datatype to 21 and then back to 20 for the column 'userid'." But there is no column named 'userid' in the CREATE TABLE you provided. Please either provide accurate output of SHOW CREATE TABLE or indicate correct name of the problem column.
[22 Jul 2008 4:45]
Jayant Patil
Sorry for the inconvenience. I had some mis-communication. Please look this. Now, what i had changed into the code part for temporary purpose. The unfortunate query: ---------------------------------------------------------------- ALTER TABLE `admaster` CHANGE `id` `id` BIGINT( 22 ) NOT NULL AUTO_INCREMENT ALTER TABLE `admaster` CHANGE `id` `id` BIGINT( 20 ) NOT NULL AUTO_INCREMENT. ----------------------------------------------------------------- The above are two queries look similar but length of datatype is different. I run these queries, when there is Insert error in database and the problem is solved and the data which i am losing can be retrieved. Jayant Patil
[4 Aug 2008 13:54]
Susanne Ebrecht
Unfortunately, I can't repeat this ... neither with MySQL 4.1.22 nor with MySQL 5.0.