MySQL Forums
Forum List  »  NDB clusters

NDB: stored grants: not intialized.
Posted by: Ricky Bobby
Date: December 27, 2022 06:59PM

Attempting to get my first cluster going and adding users ran into this message.

NDB: stored grants: not intialized.

I followed these instructions:
https://dev.mysql.com/doc/mysql-cluster-excerpt/8.0/en/mysql-cluster-privilege-synchronization.html

This is in a kubernetes environment and deployed with a bash script on boot. I have "sleep 5" after the server starts and forks away, This is in a file:


GRANT NDB_STORED_USER ON *.* TO `root`@`localhost`

FLUSH PRIVILEGES;

CREATE USER IF NOT EXISTS 'ndb_demo'@'%' IDENTIFIED BY 'suuuuperseeeecret';

Then I get the error and I'm not finding any documentation that explains it.

Should I sleep longer to let the sql server join the cluster?

Options: ReplyQuote


Subject
Views
Written By
Posted
NDB: stored grants: not intialized.
409
December 27, 2022 06:59PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.