Movement of MySQL data to a different location.

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
prateekagr1988
Posts: 62
Joined: Fri Sep 26, 2014 7:21 pm

Movement of MySQL data to a different location.

Post by prateekagr1988 »

We are planning to move MySQL data to a different location, from the default /var location to /u01/appl/mysql.
Please suggest the overview/steps/locations of the impacted files that should be moved and the configuration changes required.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Movement of MySQL data to a different location.

Post by abrist »

You could use symlinks by linking /var/lib/mysql to your /u01/appl/mysql mountpoint.
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
Locked