Get ERD Image From Sequel Pro on Mac

센텔 2017.06.08 13:22 조회 수 : 69

Mac 에서 ERD이미지를 Sequel Pro를 이용하여 얻는 방법이다.

1. Install graphviz via homebrew (note - sudo isn’t required for my installation of homebrew). brew install graphviz

brew install graphviz

2. Connect to your MySQL database using Sequel Pro.
3. In Sequel Pro, go to File > Export… > Choose Dot as the export type > Export.
4. Launch and run the following command from the directory where the .dot file was exported to

dot -Tpng > your_database.png

출처1 :

출처2 :