From 06d3ee26505400524e8aa7781c04496ed3c94ae7 Mon Sep 17 00:00:00 2001 From: Zhang Huangbin Date: Mon, 6 Apr 2015 11:31:42 +0800 Subject: [PATCH] [install.iredmail.with.remote.mysql.server.md] Mention to backup db first, and mention to drop sogo db. --- html/install.iredmail.with.remote.mysql.server.html | 7 +++++-- installation/install.iredmail.with.remote.mysql.server.md | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/html/install.iredmail.with.remote.mysql.server.html b/html/install.iredmail.with.remote.mysql.server.html index a4b891a9..03b17314 100644 --- a/html/install.iredmail.with.remote.mysql.server.html +++ b/html/install.iredmail.with.remote.mysql.server.html @@ -88,18 +88,21 @@ address 192.168.1.200 with password admin_password.

If you tried to install iRedMail with this remote MySQL server before, please -drop existing databases and MySQL users which will be created by iRedMail on -remote MySQL server:

+backup existing databases on remote MySQL server first, then drop them and +delete related MySQL users, because they will be created by iRedMail +automatically on remote MySQL server:

mysql> DROP DATABASE amavisd;
 mysql> DROP DATABASE cluebringer;
 mysql> DROP DATABASE iredadmin;
 mysql> DROP DATABASE roundcubemail;
+mysql> DROP DATABASE sogo;
 mysql> DROP DATABASE vmail;
 
 mysql> DROP USER 'amavisd'@'192.168.1.200';
 mysql> DROP USER 'cluebringer'@'192.168.1.200';
 mysql> DROP USER 'iredadmin'@'192.168.1.200';
 mysql> DROP USER 'roundcube'@'192.168.1.200';
+mysql> DROP USER 'sogo'@'192.168.1.200';
 mysql> DROP USER 'vmail'@'192.168.1.200';
 mysql> DROP USER 'vmailadmin'@'192.168.1.200';
 
diff --git a/installation/install.iredmail.with.remote.mysql.server.md b/installation/install.iredmail.with.remote.mysql.server.md index facc9464..ecb400b0 100644 --- a/installation/install.iredmail.with.remote.mysql.server.md +++ b/installation/install.iredmail.with.remote.mysql.server.md @@ -72,20 +72,23 @@ __Notes__: be used anymore. We will give you SQL command to delete it later. If you tried to install iRedMail with this remote MySQL server before, please -drop existing databases and MySQL users which will be created by iRedMail on -remote MySQL server: +backup existing databases __on remote MySQL server first__, then drop them and +delete related MySQL users, because they will be created by iRedMail +automatically on remote MySQL server: ``` mysql> DROP DATABASE amavisd; mysql> DROP DATABASE cluebringer; mysql> DROP DATABASE iredadmin; mysql> DROP DATABASE roundcubemail; +mysql> DROP DATABASE sogo; mysql> DROP DATABASE vmail; mysql> DROP USER 'amavisd'@'192.168.1.200'; mysql> DROP USER 'cluebringer'@'192.168.1.200'; mysql> DROP USER 'iredadmin'@'192.168.1.200'; mysql> DROP USER 'roundcube'@'192.168.1.200'; +mysql> DROP USER 'sogo'@'192.168.1.200'; mysql> DROP USER 'vmail'@'192.168.1.200'; mysql> DROP USER 'vmailadmin'@'192.168.1.200'; ```