SYMPTOM:
"The warehouse catalog SQL contains a template string '?Schema_Name?#' that must be completed before catalog updates can be run." error message appears when reading the Warehouse Catalog in Strategy Developer 9.4.x - 10.x against MySQL Warehouse as shown below:

An error was detected while trying to read the warehouse catalog: The warehouse catalog SQL contains a template string '#?Schema_Name?#' that must be completed before catalog updates can be run. Do you want to modify the Warehouse Catalog Browser options to try solve this problem? Please re-run the Warehouse Catalog Browser after you make your changes.

Unexpected Error. The warehouse catalog SQL contains a template string '#?Schema_Name?#' that must be completed before catalog updates can be run.

SELECT DISTINCT TABLE_SCHEMA NAME_SPACE, TABLE_NAME TAB_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA = '#?Schema_Name?#'
SELECT DISTINCT TABLE_SCHEMA NAME_SPACE, TABLE_NAME TAB_NAME FROM INFORMATION_SCHEMA.TABLES WHERE TABLE_SCHEMA ='TJI4JAN23U27'