maria-discuss team mailing list archive
-
maria-discuss team
-
Mailing list archive
-
Message #05193
Re: Copying database files
-
To:
maria-discuss@xxxxxxxxxxxxxxxxxxx
-
From:
Reindl Harald <h.reindl@xxxxxxxxxxxxx>
-
Date:
Mon, 13 Aug 2018 11:46:55 +0200
-
In-reply-to:
<37b4c822e5344e99a21fc2e55171fc56@DCRIC1EXC05PA.mcp.local>
-
Openpgp:
id=9D2B46CDBC140A36753AE4D733174D5A5892B7B8; url=https://arrakis-tls.thelounge.net/gpg/h.reindl_thelounge.net.pub.txt
-
Organization:
the lounge interactive design
-
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1
Am 13.08.2018 um 11:30 schrieb Ling, Andy:
> I’m using MariaDB 10.2.13 on Windows 7. All tables are using the Aria
> engine.
>
> I am trying to initialise a slave database by copying the files between
> PCs, but when I try and use the copied files I get the error
>
> Table is from another system and must be zerofilled or repaired to be
> usable on this system
>
> Repairing the tables fixes this, but I’d rather not have to so that.
>
> I have tried various things suggested to stop this, but nothing seems to
> help. On the source server I have run aria_chk –zerofill on all the
> tables. Before copying the tables I run FLUSH TABLES <table list> FOR
> EXPORT, but I still get the error.
jesus don't copy tbale files around while the server is running
* rsync hot
* shutdown master server
* rsync cold
* start master server
References