MySQL cluster dump with logfile
Here's a problem I'm having in MySQL cluster and hoping one of you has an answer since it seems like something pretty obvious.
I'm producing dumpfiles of our MySQL cluster databases which of course include the CREATE LOGFILE GROUP / CREATE TABLESPACE commands in them. There doesn't seem to be any way though to do either of these two things:
1) Ideally, to create dumpfiles which include some version of ... "DROP LOGFILE GROUP IF EXISTS" for logfiles/tablespace so I can import them in existent databases and overwrite the data without producing 'ERROR 1528 (HY000) at line 22: Failed to create LOGFILE GROUP' errors.
As it stands all I can do is have a script which removes the logfile creation from the dumpfile before importing it, which isn't great, because my database already has those.
2) Otherwise, if there's a separate syntax which produces a dumpfile without the logfile/tablespace creation, that would also work.
It just seems that the DROP IF EXISTS syntax should be present for logfiles/tablespace but it doesn't seem to be, unless I'm missing something.
I'd greatly appreciate any help on this.
Regards, John.
Subject
Views
Written By
Posted
MySQL cluster dump with logfile
1883
August 13, 2014 12:46PM
794
August 14, 2014 02:01AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.