MySQL NDBCluster Tables Missing After Initial System Restart of the Data Nodes; mysqld fails: "[ERROR] Fatal error: Can't open and lock privilege tables: Table 'mysql.user' doesn't exist" (Doc ID 2138159.1)

Last updated on MARCH 08, 2017

Applies to:

MySQL Cluster - Version 6.2 and later
Information in this document applies to any platform.

Symptoms

When looking the available tables - for example using SHOW TABLES - all of the tables using the NDBCluster storage engine are missing. This occurs after doing an initial system restart of the data nodes (i.e. with all data nodes shut down, starting the data nodes with --initial). An initial system restart is also known as system reset or cluster reset.

The cluster log contains messages similar to the following during the last restart:

 

Changes

The data nodes were started with the --initial option after they were all shut down.

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