Installing MySQL Enterprise 5.7 server with custom paths

Just wondering how to install MySQL enterprise 5.7 version using RPM install method with custom paths.

  1. Default installation look like below. When I do installation using rpm, we don’t full control on customizing the paths. understood it involvs effort to customize them post install method.

root 3486 1 0 15:27 pts/0 00:00:00 /bin/sh /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/lib/mysql/
mysql 3573 3486 1 15:27 pts/0 00:00:00 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib64/mysql/plugin --user=mysql --log-error=node01.err --pid-file=/var/lib/mysql/

  1. If we have to modify all the paths manually what about service file in /etc/init.d. I feel customizing the paths effects the usage of mysql services file

Question: Is there any way to install mysql enterprise version of mysql using rpms with custom paths? which I think reduce the effort of post customization. Atleast one level.



For the help with MySQL Enterprise I suggest you contact Oracle support, it is included with their Enterprise products