I need to monitor mysql slave status from ms sql server, so I executed the query below but there was an error message like '[MSDASQL].Slave_IO_State'. The (maximum) expected data length is 28, while the returned data length is 64.' I tried to configure trace flag after that and used this command ; 'DBCC TRACEON(8765)' but it didn't work.
SELECT * FROM OPENQUERY([MY_LINKED_SERVER],'SHOW SLAVE STATUS')
Now I want to select specific columns from slave status, but relay_log_info_repository and master_info_repository values are FILE..
And the data from the below query doesn't contains what I'm trying to see;
SHOW GLOBAL STATUS LIKE '%slave%'