How Tos > MySQL database on a different drive or folder

MySQL database on a different drive or folder

Tags:  

MySQL database on a different drive or folder


If the customer wants to have the MySQL database on a different drive due to space constraints or any other reasons, follow the steps below after shutting down either OpManager Central or Probe.

For Windows:

If OpManager is installed under "C:\Program Files\ManageEngine\OpManagerCentral" and they want the database alone to be in E: drive. (SAN Disk or to any other location). Copy the "C:\Program Files\ManageEngine\OpManagerCentral\mysql" folder to a different drive, e.g: "E:\mysql"

Now edit the batch file startMySQL.bat under \OpManagerCentral\bin folder and make the changes as below.

Look for
set MYSQL_HOME=..\mysql
and modify it as
set MYSQL_HOME=E:\mysql

Save it and start OpManager.

Note: Replace 'Central' with 'Probe', if you want to change the Probe Mysql directory.

For Linux:
    Contact eesupport@opmanager.com.


 RSS of this page

rtttr
rb