Step 1: Install sqlfairy
sudo apt-get install sqlfairy
Step 2 : Install mysql or oracle(if you don't have it already)
apt-get instal mysql-server5.0
Step 3 :
sqlt-diagram -d=MySQL -o=hmc.png hmc.sql --color
This will create a colored image, hmc.png taking table details from hmc.sql, where -d=MySQL specified the MySQL driver.
Easy, isn't it...
You can read more about sqlfairy from the link provided. It provides a lot of other magical features.
2 comments:
Dood I am quite impressed by the way you pen down your blog. Many do it for the sake of it, but i liked your way.
I don't remember by your face though :(
thanks for such an encouraging comment..
Post a Comment