如何使SchemaCrawler在Windows中工作?如何使SchemaCrawler在Windows中工作?
GraphViz已安裝。現在我想要使用命令行,使整個PostgreSQL數據庫的示意圖:
sc.cmd -command graph -outputformat png \
-outputfile=graph.png -database=my_database \
-user=the_user -password=my_password -infolevel=standard
但我得到約lib.jakarta-httpcore-nio-4.0-alpha4.jar
一個錯誤,找不到:
Fehler: Hauptklasse lib.jakarta-httpcore-nio-4.0-alpha4.jar konnte nicht gefunden oder geladen werden
鏈接您的建議線索確切地我下載的檔案,我有問題。如果我用java -classpath替換sc.cmd,錯誤是一樣的。我不熟悉Java。我只想運行該工具並獲取圖表。 – Paul
保羅,請下載9.2版本:http://sourceforge.net/projects/schemacrawler/files/SchemaCrawler%20-%20IBM%20DB2/9.2/ –
哦,是啊!向前一步。謝謝。但是現在我收到錯誤:schemacrawler.schemacrawler.SchemaCrawlerSQLException:無法連接到jdbc:hsqldb:hsql:// localhost:5432/mydatabase,屬性爲{user = myuser}。所有憑證都是有效的;我可以從pgAdmin連接到PostgreSQL。 – Paul