Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What would be the best way to get a visual representation of a group of MySQL tables' foreign key constraints? (other than drawing them out by hand)

Something like this:

share|improve this question
up vote 2 down vote accepted

Use MySQL Workbench

share|improve this answer

SQLFairy should be able to produce a number of different graphical outputs (as well as translating between different dialects of SQL). You should be able to produce what you're looking for using those.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.