1

Topic: iRedMail still install mariadb even though I have a remote MySQL Serve

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iRedMail-1.3.2
- Deployed with iRedMail Easy or the downloadable installer? Downloadable installer
- Linux/BSD distribution name and version: Ubuntu Server 20.04
- Store mail accounts in which backend (LDAP/MySQL/PGSQL):  MariaDB
- Web server (Apache or Nginx): Nginx
- Manage mail accounts with iRedAdmin-Pro? No
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====

Hi guys,

I'm new here, so it's best time to say "thank you" for this great piece of product. You will see me often here as I've got few questions for you :). Let's start with the first one

I did follow the step here https://docs.iredmail.org/install.iredm … erver.html
since I already have a remote MySQL Server 8.0 up and running, but still it's installed Mariadb.
The doc is not up to date I guess ?

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: iRedMail still install mariadb even though I have a remote MySQL Serve

I suppose only mariadb client packages are installed by iRedMail installer, not server packages.

Although your mariadb is running on another server, but local applications still need mysql / mariadb client packages for sql connection.

3

Re: iRedMail still install mariadb even though I have a remote MySQL Serve

ZhangHuangbin wrote:

I suppose only mariadb client packages are installed by iRedMail installer, not server packages.

Although your mariadb is running on another server, but local applications still need mysql / mariadb client packages for sql connection.

It's still installing MariadBD server even though I specified USE_EXISTING_MYSQL='YES' .... on command line.
I don't use MariaDB, I use MySQL 8.0. Is there anything to do with this ?

4

Re: iRedMail still install mariadb even though I have a remote MySQL Serve

It must be installed as dependent package of some other required package(s).
Check line 168-170, 179-181, 188-191 to figure it out:
https://github.com/iredmail/iRedMail/bl … es.sh#L168

5

Re: iRedMail still install mariadb even though I have a remote MySQL Serve

Hi zhang, i think you do not understand the meaning of this question.
we follow the document of your site, but it still install mysql at localserver, it did not use the remote mysql server we have figure out.  after installation, we can not see some accunt in remote mysql.
we known iredmail will install mysql client at local, but actually, it also install mysql server, in other word,
USE_EXISTING_MYSQL ...
these environments does not take effect.

6

Re: iRedMail still install mariadb even though I have a remote MySQL Serve

https://docs.iredmail.org/install.iredm … erver.html