select TABLE_SCHEMA, TABLE_NAME from information_schema.tables where TABLE_SCHEMA = 'mysql' and TABLE_NAME = 'ndb_binlog_index'; TABLE_SCHEMA TABLE_NAME mysql ndb_binlog_index select ORDINAL_POSITION, COLUMN_NAME, COLUMN_TYPE, COLUMN_DEFAULT, IS_NULLABLE from information_schema.columns where TABLE_SCHEMA = 'mysql' and TABLE_NAME = 'ndb_binlog_index' order by ORDINAL_POSITION; ORDINAL_POSITION COLUMN_NAME COLUMN_TYPE COLUMN_DEFAULT IS_NULLABLE 1 Position bigint unsigned NULL NO 2 File varchar(255) NULL NO 3 epoch bigint unsigned NULL NO 4 inserts int unsigned NULL NO 5 updates int unsigned NULL NO 6 deletes int unsigned NULL NO 7 schemaops int unsigned NULL NO 8 orig_server_id int unsigned NULL NO 9 orig_epoch bigint unsigned NULL NO 10 gci int unsigned NULL NO 11 next_position bigint unsigned NULL NO 12 next_file varchar(255) NULL NO