If it\'s a regular database, i can simply use this query to get a list of all table names and their column names of the database.
use [my_database_name] GO
The system stored procedure sp_tables is used to list out the tables available in the current database of the current server. You can use sp_tables_ex for the linked server. The following returns list of tables available in the specified Server:
EXEC sp_tables_ex @table_server = 'MYSQL_DB'