SELECT  *
FROM
information_schema.key_column_usage t
WHERE
t.constraint_schema = '库名称'
AND t.constraint_name = '外键名';