Re: Adding a second slave and Load Data from master questions

2006-05-05 Thread sheeri kritzer

LOAD DATA FROM MASTER only works for MyISAM tables.  Is
tracking.session an InnoDB table?

-Sheeri

On 5/4/06, Hunter Peress [EMAIL PROTECTED] wrote:

Hi. im trying to add a second slave using load data from master ,and
it seems to me that when i run this command on the
new slave that its simply picking up from where the first slave is
replicating from. Does this make sense? Also interesting is that
when both the IO and SQL threads are No on the new slave, it
downloads until 661 MB then stops. Another fact is that the first
slave is actually
out of sync.

So i have some questions on load data from master:

is it designed to work with a partway updated slave, or is it only
designed to work from a completely blank database?

Heres the error logs from the new slave im trying to set up.
   May  4 09:29:41 localhost mysqld[29920]: 060504  9:29:41
[Note] Slave SQL thread initialized, starting replication in log
'FIRST' at position 0, relay log './djembe-relay-bin.01' position: 4
   May  4 09:29:52 localhost mysqld[29920]: 060504  9:29:52
[Note] Slave I/O thread: connected to master '[EMAIL PROTECTED]',
replication started in log 'FIRST' at position 4
   May  4 09:29:52 localhost mysqld[29920]: 060504  9:29:52
[ERROR] Slave: Error 'Table 'tracking.session' doesn't exist' on
query. Default database: 'tracking'. Query: 'insert into `session`
(phpsessio
   nid, useragent, remoteip, guid, userid, entryurl, referurl,
created) values('10e55f72ff0321de6199df3c650608d3', 'Python-urllib/
1.15', '10.2.1.11', NULL, NULL, '/', NULL, NULL)', Error_code: 1146
   May  4 09:29:52 localhost mysqld[29920]: 060504  9:29:52
[ERROR] Error running query, slave SQL thread aborted. Fix the
problem, and restart the slave SQL thread with SLAVE START. We
stopped at log
'mysql-bin.000256' position 4
   May  4 09:30:06 localhost mysqld[29920]: 060504  9:30:06
[ERROR] Slave I/O thread killed while reading event
   May  4 09:30:06 localhost mysqld[29920]: 060504  9:30:06
[ERROR] Slave I/O thread exiting, read up to log 'mysql-bin.000256',
position 6268185





Hunter Peress
[EMAIL PROTECTED]
Web Programmer
The New Mexican, Inc.
www.freenewmexican.com



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Adding a second slave and Load Data from master questions

2006-05-04 Thread Hunter Peress
Hi. im trying to add a second slave using load data from master ,and  
it seems to me that when i run this command on the
new slave that its simply picking up from where the first slave is  
replicating from. Does this make sense? Also interesting is that
when both the IO and SQL threads are No on the new slave, it  
downloads until 661 MB then stops. Another fact is that the first  
slave is actually

out of sync.

So i have some questions on load data from master:

is it designed to work with a partway updated slave, or is it only  
designed to work from a completely blank database?


Heres the error logs from the new slave im trying to set up.
  May  4 09:29:41 localhost mysqld[29920]: 060504  9:29:41  
[Note] Slave SQL thread initialized, starting replication in log  
'FIRST' at position 0, relay log './djembe-relay-bin.01' position: 4
  May  4 09:29:52 localhost mysqld[29920]: 060504  9:29:52  
[Note] Slave I/O thread: connected to master '[EMAIL PROTECTED]',   
replication started in log 'FIRST' at position 4
  May  4 09:29:52 localhost mysqld[29920]: 060504  9:29:52  
[ERROR] Slave: Error 'Table 'tracking.session' doesn't exist' on  
query. Default database: 'tracking'. Query: 'insert into `session`  
(phpsessio
  nid, useragent, remoteip, guid, userid, entryurl, referurl,  
created) values('10e55f72ff0321de6199df3c650608d3', 'Python-urllib/ 
1.15', '10.2.1.11', NULL, NULL, '/', NULL, NULL)', Error_code: 1146
  May  4 09:29:52 localhost mysqld[29920]: 060504  9:29:52  
[ERROR] Error running query, slave SQL thread aborted. Fix the  
problem, and restart the slave SQL thread with SLAVE START. We  
stopped at log

   'mysql-bin.000256' position 4
  May  4 09:30:06 localhost mysqld[29920]: 060504  9:30:06  
[ERROR] Slave I/O thread killed while reading event
  May  4 09:30:06 localhost mysqld[29920]: 060504  9:30:06  
[ERROR] Slave I/O thread exiting, read up to log 'mysql-bin.000256',  
position 6268185






Hunter Peress
[EMAIL PROTECTED]
Web Programmer
The New Mexican, Inc.
www.freenewmexican.com



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]