My Oracle Support Banner

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

Last updated on OCTOBER 02, 2023

Applies to:

MySQL Server - Version 4.0 and later
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.