MySQL Workbench is a cross-platform, graphical
database modeling tool for MySQL. It allows you to
create database models from scratch as well as by
importing existing databases from SQL or
DBDesigner4 models. You can then generate SQL code
to CREATE databases, ALTER them, and export in
various image formats and PDF/PS. Its extension
system allows writing plugins and scripts in Lua,
Python, and C++.