mysql_upgrade fails with "[ERROR] 1006: Can't create database 'performance_schema' (errno: 16033168)"

(Doc ID 2317680.1)

Last updated on OCTOBER 27, 2017

Applies to:

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

Symptoms

 Running mysql_upgrade fails with the following error:

 

Changes

 Starting MySQL on non-default data directory after upgrade.

Cause

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