Failed to Create a General Tablespace: Error 3121: "Incorrect File Name ..."; "CREATE TABLESPACE data file cannot be under the datadir"

(Doc ID 2100076.1)

Last updated on MARCH 08, 2017

Applies to:

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


When attempting to add an InnoDB general tablespace in a directory under datadir, the following errors occur:




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 hundreds of Community platforms