Plz help,
I have the following query which runs fine without the insert
statment.
INSERT INTO `db_x`.`attributes` (id, typeid, value, start_time,
end_time)
SELECT distinct i.id,
at.id AS typeid,
d.megapixels AS value,
NULL AS start_time,
NULL AS end_time
FROM `db_y`.`data` d, `db_x`.`attribute_types` at, `db_x`.`items`
i
WHERE at.name = 'megapixel' AND i.secondid = d.p_id
AND d.megapixels is not null;
When I run it without the insert statement it return 500 rows in about
90ms, when I add the insert statement the whole MySQL service stops.
The `db_x`.`attributes` table furthermore contains a field 'yo' which
is the primary key and an auto_increment field.
I am running MySQL 4.1.9-nt. It is running on Windows Server 2003.
Does anybody have an idea?
Thanks in advance,
Christiaan 1 1567 in**@asperium.com (Christiaan) wrote in message news:<4e**************************@posting.google. com>... Plz help,
I have the following query which runs fine without the insert statment.
INSERT INTO `db_x`.`attributes` (id, typeid, value, start_time, end_time) SELECT distinct i.id, at.id AS typeid, d.megapixels AS value, NULL AS start_time, NULL AS end_time FROM `db_y`.`data` d, `db_x`.`attribute_types` at, `db_x`.`items` i WHERE at.name = 'megapixel' AND i.secondid = d.p_id AND d.megapixels is not null;
When I run it without the insert statement it return 500 rows in about 90ms, when I add the insert statement the whole MySQL service stops. The `db_x`.`attributes` table furthermore contains a field 'yo' which is the primary key and an auto_increment field. I am running MySQL 4.1.9-nt. It is running on Windows Server 2003.
Does anybody have an idea?
Thanks in advance,
Christiaan
I found out it's the following error: 2013 Lost connection to MySQL
server during query. It also happens when I execute a large batch
file.
Any help would be appreciated!
Thnx,
Chris This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ka |
last post by:
I install a mysql server in default installation with latin charset, but
I want to use GBK(a chinese charset), so that I can store and
search chinese words directly.
so, I download, unpack and...
|
by: Henry Hank |
last post by:
Environment:
I'm setting up a database server on a Dell Poweredge 2650, dual 1.8GHZ pentium
with 1GB of memory and RAID5 drives. I've installed RedHat 9, and updated the
kernel to 2.4.20-19.9smp....
|
by: Andrew Yinger |
last post by:
Hi.
I have recently encountered a serious problem with mysql: the
mysqld-nt service pegs the processor at 100% after I start it. I
noticed this right after a crash of the service, and the size...
|
by: nospam |
last post by:
DEAR MICROSOFT:
WOULD YOU PLEASE put up a web page showing the price list of EXPECTED COSTS
for MOM & POP when choosing between MySql/PHP and .NET.
FIRST:
Show INITIAL COSTS for like a 5-10...
|
by: pratchaya |
last post by:
This is my sample error in my MySQL Log
New value of fp=(nil) failed sanity check, terminating stack trace!
Please read http://www.mysql.com/doc/en/Using_stack_trace.html and
follow instructions...
|
by: Adam Clauss |
last post by:
I have a C# Windows Service running as the NetworkService account because it
needs to access a network share.
As part of the service's initialization, I want the service to terminate, if
an...
|
by: Dudu |
last post by:
Dear Programmers
I try to install mysql version 5.0 and I encountered with a problem
when I tried to start the service. I got error 1067.
I checked the log file and saw the following records...
|
by: alf |
last post by:
Hi,
is it possible that due to OS crash or mysql itself crash or some e.g.
SCSI failure to lose all the data stored in the table (let's say million
of 1KB rows). In other words what is the worst...
|
by: Alfons Nonell-Canals |
last post by:
Hello,
I've developed a program using python that have to connect to a mysql
server several times.
In a local machine (running the program in the same machine where the
mysql server is) I have...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |