We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6cbe830 commit c3dc5c1Copy full SHA for c3dc5c1
storage/ndb/tools/listTables.cpp
@@ -310,7 +310,9 @@ int main(int argc, char** argv){
310
311
ndb_cluster_connection->set_name("ndb_show_tables");
312
if (ndb_cluster_connection->connect(12,5,1))
313
- fatal("Unable to connect to management server.");
+ fatal("Unable to connect to management server.\n - Error: '%d: %s'",
314
+ ndb_cluster_connection->get_latest_error(),
315
+ ndb_cluster_connection->get_latest_error_msg());
316
if (ndb_cluster_connection->wait_until_ready(30,0) < 0)
317
fatal("Cluster nodes not ready in 30 seconds.");
318
0 commit comments