PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > mysql.general > Strange behavior with replication
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Strange behavior with replication

Réponse
 
LinkBack Outils de la discussion
Vieux 13/12/2007, 23h54   #1
Stefan Pinkert
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Strange behavior with replication

Hello,

i'm having a really strange problem with mysql replication. I want to
upgrade two servers from MySQL 4.1.21 to 5.0.45 (which is the
current default in SuSE 10.3). Tables are a mix of InnoDB and MyISAM
tables.

I've upgraded the master, restored an SQL dump, that was made with
4.1.21 and set up replication with "change master to ..." and started the
slave. So far everything went fine, but now the trouble began.

As soon as the slave reaches the end of a relay-log file and switch to the
next one, it seems to execute a rollback command. That lead to the
situation, that the MyISAM tables are OK, but all InnoDB tables are rolled
back to the state that it had at the beginning of the relay-log.
Autocommit is set to "1" so normally it should commit after every single
update (as long as there is no explicit begin and commit/rollback).

That problem start to drive me crazy. Does anyone have a clue why the
replication act this way and how to solve that problem?

Thanks
Stefan
  Réponse avec citation
Vieux 14/12/2007, 00h16   #2
Stefan Pinkert
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Strange behavior with replication

Hello again...

> I've upgraded the master, restored an SQL dump, that was made with
> 4.1.21 and set up replication with "change master to ..." and started the
> slave. So far everything went fine, but now the trouble began.


Well there was a mistake. Of course i've upgraded the slave, not the
master. Sorry for the confusion.


  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 06h00.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10151 seconds with 10 queries