1.- Descargamos e instalamos el Intrprete de Python y las utilidades de MySQL
2.- Creamos un directorio de Destino para el nuevo gestor
# mkdir p /source/clon # chown R mysql:mysql /source # su mysql 3.- Ejecutamos el comando: $ mysqlserverclone --server=root:pass@localhost \ --new-data=/source/clon/mysql --new-port=3310 \ --root-password=pass delete-data # # # # # # # # # # #
Cloning the MySQL server running on localhost.
Creating new data directory... Configuring new instance... Locating mysql tools... Setting up empty database and mysql tables... Starting new instance of the server... Testing connection to new instance... Success! Setting the root password... -uroot pxxxxx socket=/source/clon/mysql/mysql.sock ...done.
DATADIR=/var/lib/mysql BASEDIR=/usr 4.- Conectarnos con la nueva instancia del servidor # mysql uroot pxxxxx - -socket=/source/clon/mysql/mysql.sock