updated mysql github logic