Bug #41000 | MySQLdump writes erronous INSERT statements | ||
---|---|---|---|
Submitted: | 25 Nov 2008 7:09 | Modified: | 27 Dec 2008 7:27 |
Reporter: | Robin Diederen | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server: mysqldump Command-line Client | Severity: | S2 (Serious) |
Version: | 5.0.45 | OS: | Linux (Any) |
Assigned to: | CPU Architecture: | Any | |
Tags: | mysqldump 1064 |
[25 Nov 2008 7:09]
Robin Diederen
[25 Nov 2008 12:11]
Valeriy Kravchuk
Thank you for a problem report. Please, check if mysqldump/mysql clients from a newer version, 5.0.67, will work for you. if it will not, please, send your my.cnf file content from the system where you try to restore the dump.
[25 Nov 2008 12:21]
Robin Diederen
Hi, I'll try the 5.0.67 binary. However, I don't think that will do any good, as the version of mysqldump is the same (both version 10.11). My my.cnf on the target system looks as follows: [mysqld] datadir=/var/lib/mysql socket=/var/lib/mysql/mysql.sock user=mysql old_passwords=1 server-id=2 max_allowed_packet=16M innodb_data_home_dir = /var/lib/mysql innodb_data_file_path = ibdata1:10M:autoextend innodb_log_group_home_dir = /var/lib/mysql innodb_buffer_pool_size = 256M innodb_additional_mem_pool_size = 64M innodb_log_file_size = 64M innodb_log_buffer_size = 8M innodb_flush_log_at_trx_commit = 1 innodb_lock_wait_timeout = 3600 [mysqld_safe] log-error=/var/log/mysqld.log pid-file=/var/run/mysqld/mysqld.pid Best, Robin
[26 Nov 2008 11:03]
Sveta Smirnova
Thank you for the report. But version 5.0.45 is old. Please try with current version 5.0.67 and if problem still exists experiment with max_allowed_packet: increase its value.
[26 Nov 2008 11:07]
Robin Diederen
Hi, Are there any differences between mysqldump versions when their version numbers are identical? I'll be doing some tests with a more recent version of mysqldump. Would replacing the mysqldump binary (and nothing else) be sufficient? Best, Robin
[26 Nov 2008 11:18]
Sveta Smirnova
Robin, I think main problem is not mysqldump itself, but value of max_allowed_packet which just crops queries from the dump. (== not a bug) In other side we don't backport bug fixes. So if this is rare case when problem is not size of max_allowed_packet, but real bug we need to know if problem repeatable with latest version. This is why I asked you to upgrade (and server as well, because is not known if problem with mysqldump or mysqld).
[26 Nov 2008 13:36]
Robin Diederen
Hi Sveta, I just gave one of the problematic dumps a try with a MySQL server configured to do a max_allowed_packet_size of 64MB.. still no go. I'll give the new version a try (could take a few days...). Best, Robin
[27 Nov 2008 7:27]
Sveta Smirnova
Thank you for the answer. We will wait result from you.
[28 Dec 2008 0: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".