My Oracle Support Banner

How do I change the location of the data directory? (Doc ID 1023178.1)

Last updated on SEPTEMBER 12, 2018

Applies to:

MySQL Server - Version 4.0 and later
MySQL Enterprise Monitor - Version 4.0 to 4.0 [Release 3.3]
All Platforms


To move the datadir of an existing MySQL Server 


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.