-
20
pages
-
English
-
Documents
Description
MySQL Replication Tutorial
Mats Kindahl
Prerequisites
In order to not clash with an existing installation, we will not do a proper install of the MySQL
server but rather run it from a dedicated tutorial directory. To manage the setups for the
tutorial, we will use a number of utility scripts that you need to fetch. The scripts rely on having
Perl installed and using at least version 5.6.0, but any later version should do.
Downloads
Material for this tutorial can be downloaded from the replication tutorial page on the MySQL
Forge at http://forge.mysql.com/wiki/Replication/Tutorial
Create a tutorial directory
As a first step, you should create a directory where you can place all the files that we will use
in this tutorial. In this document we will refer to that directory as reptut/. You can use
another name if you like, in which case you should just substitute that name for the code
samples in this document.
Get a MySQL 5.1 server
In order to be able to run the tests in this tutorial, it is necessary to have a MySQL 5.1 server.
In order to avoid clashes with an existing installed server, it is necessary to have access to a
binary distribution of the server. So, you have to download a binary distribution of the server
from www.mysql.com into the the reptut/ directory and unpack it there. You need to have a
distribution without an installer, so taking either the Linux (non RPM packages) or the
Windows without installer packages at http:/ ...
-
Publié par
-
Langue
English