MySQL Enterprise Install

14 April 2018

We are moving from community to commercial. Sounds posh but if it doesn't, I always like the sound of going to fully supported not partially supported. Honestly, I don't know the extra benefits but here I am trying to install it on my local machine. If you want to try it, you can download the packages from Oracle Software Delivery Cloud. Please read the print since until now, I'm not sure how MySQL Enterprise is going to expire.

Install dependencies

Once you have the packages, you just need to extract them. Then install libaio.

$ sudo apt install libaio1
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
...

Mitigate unmet dependencies

This might not happen on your machine but a quick apt-get -f install should fix it.

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libaio1 libmecab2
The following packages will be REMOVED:
...

Preconfiguration

$ sudo dpkg-preconfigure mysql-commercial-server_*.deb

Installation

$ sudo dpkg -i mysql-{common,commercial-client,client,commercial-server,server}_*.deb
(Reading database ... 301743 files and directories currently installed.)
Preparing to unpack mysql-common_8.0.11+commercial-1ubuntu16.04_amd64.deb ...
Unpacking mysql-common (8.0.11+commercial-1ubuntu16.04) over (8.0.11+commercial-1ubuntu16.04) ...
Preparing to unpack mysql-commercial-client_8.0.11+commercial-1ubuntu16.04_amd64.deb ...
Unpacking mysql-commercial-client (8.0.11+commercial-1ubuntu16.04) over (8.0.11+commercial-1ubuntu16.04) ...
Selecting previously unselected package mysql-client.
Preparing to unpack mysql-client_8.0.11+commercial-1ubuntu16.04_amd64.deb ...
Unpacking mysql-client (8.0.11+commercial-1ubuntu16.04) ...
Selecting previously unselected package mysql-commercial-server.
Preparing to unpack mysql-commercial-server_8.0.11+commercial-1ubuntu16.04_amd64.deb ...
Unpacking mysql-commercial-server (8.0.11+commercial-1ubuntu16.04) ...
Selecting previously unselected package mysql-server.
Preparing to unpack mysql-server_8.0.11+commercial-1ubuntu16.04_amd64.deb ...
Unpacking mysql-server (8.0.11+commercial-1ubuntu16.04) ...
Setting up mysql-common (8.0.11+commercial-1ubuntu16.04) ...
Setting up mysql-commercial-client (8.0.11+commercial-1ubuntu16.04) ...
Setting up mysql-client (8.0.11+commercial-1ubuntu16.04) ...
Setting up mysql-commercial-server (8.0.11+commercial-1ubuntu16.04) ...
Installing new version of config file /etc/apparmor.d/usr.sbin.mysqld ...
Installing new version of config file /etc/init.d/mysql ...
Installing new version of config file /etc/mysql/mysql.cnf ...
Installing new version of config file /etc/mysql/mysql.conf.d/mysqld.cnf ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up mysql-server (8.0.11+commercial-1ubuntu16.04) ...

Test your installation

$ mysql -uroot -p
Enter password: 
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 9
Server version: 8.0.11-commercial MySQL Enterprise Server - Commercial

Copyright (c) 2000, 2018, Oracle and/or its affiliates. All rights reserved.