executeautomation/mcp-database-server

MySQL list tables not working

Opened this issue · 0 comments

Because when we do show tables;, in typescript the return data is like below

[
{
  "Tables_from_db": "tab1"
 },
{
  "Tables_from_db": "tab2"
 }
]

But in your code you are mapping .name so its showing nulls in the final array.