My Oracle Support Banner

MySQL Error - [ERROR] --initialize specified but the data directory exists. Aborting. (Doc ID 2232416.1)

Last updated on FEBRUARY 12, 2017

Applies to:

MySQL Server - Version 5.7 and later
Information in this document applies to any platform.

Symptoms

Error during install MySQL

ERROR
-----------------------
[ERROR] --initialize specified but the data directory exists. Aborting.

Cause

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

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


In this Document
Symptoms
Cause
Solution
References


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