I need to convert this
+----+-------------+---------+------+---------------+------+---------+------+------+-------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+---------+------+---------------+------+---------+------+------+-------+
| 1 | SIMPLE | prueba2 | ALL | NULL | NULL | NULL | NULL | 9791 | |
+----+-------------+---------+------+---------------+------+---------+------+------+-------+
1 row in set (0.03 sec)
to a string into the mysql DBM to read just this string in an external system.
I need as least this part as a string
| 1 | SIMPLE | prueba2 | ALL | NULL | NULL | NULL | NULL | 9791 | |