MariaDB for DirectAdmin using RPMs

You are viewing an old version of this article. View the current version here.

If you any issues with installing MariaDB through yum, then give this a shot.
It's very straight forward to install MariaDB with DirectAdmin.

Note:
Only do this if you are having issues such as:

Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: libmysqlclient.so.18: cannot open shared object file: No such file or directory


OR:

Starting httpd: httpd: Syntax error on line 18 of /etc/httpd/conf/httpd.conf: Syntax error on line 1 of /etc/httpd/conf/extra/httpd-phpmodules.conf: Cannot load /usr/lib/apache/libphp5.so into server: /usr/lib/apache/libphp5.so: undefined symbol: client_errors

RPM Installation

There is a quick and easy guide on how to install MariaDB via RPMs here, https://kb.askmonty.org/en/installing-mariadb-with-the-rpm-tool/ .

Necessary Edits

We do not want DirectAdmin's custombuild to remove our MariaDB installation whenever an update is performed. To rectify this, we are going to disable the MySQL installation.

Now open up /usr/local/directadmin/custombuild/options.conf

You want to change:
mysql_inst=yes
To:
mysql_inst=no

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.