I managed to retrieve all the db foreign key constrains by:
foreign key constrains
select table_schema, table_name, constraint_name from information_schem