If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > mysql log deleted

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-07-08, 01:26
ammad ammad is offline
Registered User
 
Join Date: Aug 2008
Posts: 24
mysql log deleted

Hi all,


Due to disk space limit i deleted several logs, and slave was stop at that movement. now i want to update slave , can i do that ?



Code:
mysql> show slave status \G
*************************** 1. row ***************************
             Slave_IO_State: Waiting for master to send event
                Master_Host: 10.10.10.1
                Master_User: slaveuser
                Master_Port: 3306
              Connect_Retry: 60
            Master_Log_File: mysql-bin.000102
        Read_Master_Log_Pos: 387296687
             Relay_Log_File: dbrep-relay-bin.000063
              Relay_Log_Pos: 235
      Relay_Master_Log_File: mysql-bin.000089
           Slave_IO_Running: Yes
          Slave_SQL_Running: No
            Replicate_Do_DB:
        Replicate_Ignore_DB:
         Replicate_Do_Table:
     Replicate_Ignore_Table:
    Replicate_Wild_Do_Table:
Replicate_Wild_Ignore_Table:
                 Last_Errno: 2
                 Last_Error: Error in Append_block event: could not open file '/tmp/SQL_LOAD-2-1-0.data'
               Skip_Counter: 0
        Exec_Master_Log_Pos: 112294655
            Relay_Log_Space: 7421092446
            Until_Condition: None
             Until_Log_File:
              Until_Log_Pos: 0
         Master_SSL_Allowed: No
         Master_SSL_CA_File:
         Master_SSL_CA_Path:
            Master_SSL_Cert:
          Master_SSL_Cipher:
             Master_SSL_Key:
      Seconds_Behind_Master: NULL
1 row in set (0.06 sec)
can i force slave to start using from master log "mysql-bin.000090", if yes then how do i get position of this file ?

thanks
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On