Quote
the data nodes do not show up when I try with - mysql -u root -p (SHOW ENGINE NDB STATUS \G).
Not sure what you mean by this.
(BTW, the correct syntax is
mysql -uroot -p 'SHOW ENGINE NDB STATUS', with quotes, not parentheses; also, no statement termination character is needed when you run a statement in this fashion.)
What exactly is missing from your output that is shown at
https://dev.mysql.com/doc/refman/8.0/en/show-engine.html#show-engine-ndb-status ? If you mean individual data nodes, they're not shown by this statement--the SQL statement SHOW ENGINE NDB STATUS shows only the number of data nodes connected to the cluster, and in order to provide this information, the SQL node you run it on must be connected to the cluster.
To see the connection status of individual nodes, use SHOW in the ndb_mgm client.
cheers
Jon Stephens
MySQL Documentation Team @ Oracle
MySQL Dev Zone
MySQL Server Documentation
Oracle