Can someone please help me make this SQL script from DB2 to work with mySQL ? Any help would be appreciated.

select c.tabname child_table,
c.colname child_column,
p.tabname parent_table,
p.colname parent_column
from syscat.references l,
syscat.keycoluse c,
syscat.keycoluse p
where l.constname = c.constname
and l.refkeyname = p.constname
and l.tabschema = c.tabschema
and l.reftabschema = p.tabschema
and c.colseq = p.colseq