MySQL Forums
Forum List  »  Quality Assurance

ERROR mysqld.exe
Posted by: Arman FromKZ
Date: July 14, 2008 01:32PM

ver. 5.0.45-community-nt


CREATE TABLE `test` (
`D` int(11) unsigned NOT NULL default 0
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
INSERT `test` VALUES (DEFAULT);


CREATE TABLE `test2` (
`D` int(11) unsigned NOT NULL default 0
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ;
INSERT `test2` VALUES (DEFAULT);


INSERT INTO `test` (`D`)
SELECT
*
FROM `test2`
ON DUPLICATE KEY UPDATE `D`=DEFAULT;


---------------------------------------------------------------
Error

SQL query:

INSERT INTO `test` ( `D` )
SELECT *
FROM `test2` ON DUPLICATE
KEY UPDATE `D` = DEFAULT

MySQL said:
#2013 - Lost connection to MySQL server during query
---------------------------------------------------------------



Edited 1 time(s). Last edit at 07/15/2008 07:02PM by Arman FromKZ.

Options: ReplyQuote


Subject
Views
Written By
Posted
ERROR mysqld.exe
4822
July 14, 2008 01:32PM
2909
August 25, 2008 05:36AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.