MariaDB Enterprise Installation

Installing MariaDB Enterprise Windows Packages

1. Login to http://mariadb.com and click on the My Portal link then on Downloads
2. In the Enterprise Products section, use the menus to select the version of MariaDB Enterprise you are interested in and Windows as the operating system
3. Depending on your processor architecture, either download the Windows x86 or x86_64 installer (the ZIP archive is provided for those who know they want it, but the Installer is recommended)
4. Run the installer and follow the prompts to install MariaDB Enterprise
5. If user account control is enabled (Vista or later), you will see a dialog asking for confirmation that it is OK to install MariaDB Enterprise. Click on “Yes”.

MariaDB Enterprise Cluster is not available for Windows

Installing MariaDB Enterprise & Enterprise Cluster Binary Tarballs

In the instructions below, the filename is mariadb10.0.14linuxglibc_214x86_64.tar.gz, adjust to whatever the actual name is for the version of MariaDB Enterprise or MariaDB Enterprise Cluster you are using.

1. Create a ‘mysql’ group using a command similar to the following:
groupadd mysql

2. Create a ‘mysql’ user, using a command similar to the following:
useradd -r -g mysql mysql

3. Unpack the binary tar.gz file under /usr/local/ :
mv mariadb10.0.14linuxglibc_214x86_64.tar.gz /usr/local/
cd /usr/local/
tar zxf mariadb10.0.14linuxglibc_214x86_64.tar.gz

4. Symlink the directory to mysql (remove an existing link, if it exists):
ln -sv mariadb10.0.14linuxx86_64 mysql
5. Change to the /usr/local/mysql/ directory and install the default databases:
cd /usr/local/mysql/
./scripts/mysql_install_db user=mysql

6. Fix ownership of directories:

chown -R root:root .
chown -R mysql/ data

7. Add the bin directory to the system PATH:
if grep -q -e ‘/usr/local/mysql/bin:$PATH’ /etc/profile; then
echo “/etc/profile PATH entry already exists.”
else
echo ‘export PATH=/usr/local/mysql/bin:$PATH’ >> /etc/profile
fi

8. Add the man directory to the system MANPATH:

if grep -q -e ‘/usr/local/mysql/man:$MANPATH’ /etc/profile; then
echo “/etc/profile MANPATH entry already exists.”
else
echo ‘export MANPATH=/usr/local/mysql/man:$MANPATH’ >> /etc/profile
fi

9. Source /etc/profile to apply the changes in our local session:
source /etc/profile

10. Replace any existing mysql init script with the current version:
cp support-files/mysql.server /etc/init.d/mysql
chmod 755 /etc/init.d/mysql
update-rc.d mysql defaults

11. Start MariaDB with:

/etc/init.d/mysql start

12. Stop MariaDB with:

/etc/init.d/mysql stop

13. It is recommended you secure your new MariaDB Enterprise installation using the

mysql_secure_installation script to set default password and other settings

  • Ask Question