[install.iredmail.with.remote.mysql.server.md] Mention to backup db first, and mention to drop sogo db.

This commit is contained in:
Zhang Huangbin 2015-04-06 11:31:42 +08:00
parent 293020b60d
commit 06d3ee2650
2 changed files with 10 additions and 4 deletions

View File

@ -88,18 +88,21 @@ address <code>192.168.1.200</code> with password <code>admin_password</code>.</p
be used anymore. We will give you SQL command to delete it later.</li>
</ul>
<p>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:</p>
backup existing databases <strong>on remote MySQL server first</strong>, then drop them and
delete related MySQL users, because they will be created by iRedMail
automatically on remote MySQL server:</p>
<pre><code>mysql&gt; DROP DATABASE amavisd;
mysql&gt; DROP DATABASE cluebringer;
mysql&gt; DROP DATABASE iredadmin;
mysql&gt; DROP DATABASE roundcubemail;
mysql&gt; DROP DATABASE sogo;
mysql&gt; DROP DATABASE vmail;
mysql&gt; DROP USER 'amavisd'@'192.168.1.200';
mysql&gt; DROP USER 'cluebringer'@'192.168.1.200';
mysql&gt; DROP USER 'iredadmin'@'192.168.1.200';
mysql&gt; DROP USER 'roundcube'@'192.168.1.200';
mysql&gt; DROP USER 'sogo'@'192.168.1.200';
mysql&gt; DROP USER 'vmail'@'192.168.1.200';
mysql&gt; DROP USER 'vmailadmin'@'192.168.1.200';
</code></pre>

View File

@ -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';
```