Bad $rs in GetUpdateSQL. Connection or SQL invalid. Try using $connection->debug=true;

SELECT md_cmf_name FROM md_cmf
			WHERE  md_cmf_filename like '%file-898-Thai-163521823%'
898.pdf
no have