Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Replication and LOAD DATA INFILE

From: Andrej Pintar <api984(at)gmail.com>
Date: Thu Aug 30 2007 - 05:49:22 EDT


Hello to you all people,

      I don't know if this is a good time to be asking question. But I will try to describe this problem the best I can. Ok. Let's see. We have 1 MASTER and 1 SLAVE.
Both having MySQL 5.0.41. My.conf are configured with lots of thought and calculations. The big thing is that the replication breaks every day. Now we have a
pretty good reason after viewing the position where it breaks is the DATA from the text file.

example..
Opened with ultra edit.
-this is how the data starts from the file.... some mysql encrypted
commands, looks like it... however I copied and some characters are not like in ultra edit....
-but you know what it is...
-i copied this from the bin file MYSERVER.000001

Ć8 őKe  LOTS of data

őXŐF

   Å” µLe 0 

      N @  P std   tur LOAD DATA INFILE 'c:\\database\\qiqo\\WTRACS\\UNILINE\\FIALA\\FIALA1.asc' INTO TABLE `A070829133101717559` (ID_polje)Ë™XŐF

And now comes the command

Do you need help?X

MASTER loads the data nicely. But the slave breaks.

Slave err. file
070829 13:40:35 [ERROR] Error reading packet from server: error reading log entry ( server_errno=1236)
070829 13:40:35 [ERROR] Got fatal error 1236: 'error reading log entry' from master when reading data from binary log 070829 13:40:35 [Note] Slave I/O thread exiting, read up to log 'ULFS01_LOGbv2.000001', position 70026728

So if could give me some advice on this. Master loads the data .... puts the data in the binary log..... and the slave can't read... replication breaks...
That would be for now..... Received on Thu Aug 30 05:53:19 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 10:14:22 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library