Bug #92354 Symbolic link for MySQL renamed when installing Enterprise Backup
Submitted: 10 Sep 2018 20:24 Modified: 12 Sep 2018 8:44
Reporter: Tony Darnell Email Updates:
Status: Patch queued Impact on me:
None 
Category:MySQL Enterprise Backup Severity:S2 (Serious)
Version:8.0.12 OS:MacOS
Assigned to: CPU Architecture:x86 (Intel)
Tags: mysqlbackup

[10 Sep 2018 20:24] Tony Darnell
Description:
After installing Enterprise Backup, the symbolic link for the MySQL server is overwritten by the Enterprise Backup symbolic link.  The symbolic link for MEB should be meb, but it is written as mysql.

How to repeat:
Installed MySQL Enteprise Edition version 8.0.12 for Mac OS 10.13 64-bit using the DMG installer (mysql-commercial-8.0.12-macos10.13-x86_64 - package V979096-01)

root # cd /usr/local

The mysql symbolic link is correct:

root # ls -ld mysql*
lrwxr-xr-x   1 _mysql  wheel   41 Sep 10 15:54 mysql -> mysql-commercial-8.0.12-macos10.13-x86_64
drwxr-xr-x  16 _mysql  wheel  512 Sep 10 15:57 mysql-commercial-8.0.12-macos10.13-x86_64

Install MySQL Enterprise Backup 8.0.12 for Mac OS 10.13, 64-bit using the DMG installer (mysql-commercial-backup-8.0.12-macos10.13-x86_64 - package V979140-01):

The symbolic link for MEB is shown as mysql, when it should be meb.  This breaks the mysql link to the database directories.

root # ls -ld mysql*
lrwxr-xr-x   1 root    wheel   48 Sep 10 16:13 mysql -> mysql-commercial-backup-8.0.12-macos10.13-x86_64
drwxr-xr-x   5 _mysql  wheel  160 Sep 10 16:13 mysql-commercial-8.0.12-macos10.13-x86_64
drwxr-xr-x   6 root    wheel  192 Jun 28 17:30 mysql-commercial-backup-8.0.12-macos10.13-x86_64

Suggested fix:
Fix the installer.