Hi I am trying to show tables with names not like a pattern by mysql is throws an error:
SHOW TABLES NOT LIKE \"tree%\";
returns:
You could use the WHERE clause extension, as in:
SHOW TABLES WHERE `Tables_in_` NOT LIKE 'tree%';
This is supported on MySQL ≥5.0.
Reference: