List:General Discussion« Previous MessageNext Message »
From:Fa. PostDirekt MA Franz Date:June 9 2004 10:49am
Subject:AW: MySQL 3.23.40 and 4.0.20 parallely on the same data-source
View as plain text  
Hi,


> Is it possible (stable and without data loss :-)) to run e.g.
>
> mysql-3.23.40 on Port 3306
>
> and 
>
> mysql-4.0.20 on Port 3307
> on the same machine (SuSE Linux with 2.4.4-kernel) 
yes

> !AND! on
> the same data-directory without the two versions conflicting (e.g. when both version
> would try to change some database 
> value within the same time)? How good is mysql's locking in that constellation?

no
Locking doesn't work with this, because server 1 doesn't know what server 2 does (locks)
and
vice versa. And what shall the poor reading server do when the writing server just changes
the data ?
Maybe, if you build all aplications round this, to always fully lock a table on both
servers before changing data, might work. But even then, cached data might be a problem.

Why do you want to do this ?

prosit
	Klaus
Antworten in Deutsch tun's auch :o)


-----Ursprüngliche Nachricht-----
Von: Oliver Neumann [New Identity AG] [mailto:oliver.neumann@stripped] 
Gesendet: Mittwoch, 9. Juni 2004 10:50
An: mysql@stripped
Betreff: MySQL 3.23.40 and 4.0.20 parallely on the same data-source


Hi there,

just one quick question I didn't find an answer in the docu:

Is it possible (stable and without data loss :-)) to run e.g.

  mysql-3.23.40 on Port 3306

and 

  mysql-4.0.20 on Port 3307

on the same machine (SuSE Linux with 2.4.4-kernel) !AND! on
the same data-directory without the two versions conflicting (e.g. when both version would
try to change some database value within the same time)? How good is mysql's locking in
that constellation?

Thanks for your support in advance.

Greetz,
Oliver Neumann

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=1
Thread
MySQL 3.23.40 and 4.0.20 parallely on the same data-sourceOliver Neumann [New Identity AG]9 Jun
AW: MySQL 3.23.40 and 4.0.20 parallely on the same data-sourceFa. PostDirekt MA Franz9 Jun