建議直接藍奏云下載安裝
藍奏云下載:https://wwoc.lanzoum.com/b04dpvcxe
藍奏云密碼:123
項目介紹
SmartSQL 是一款方便、快捷的數(shù)據(jù)庫文檔查詢、導(dǎo)出工具!從最初僅支持
數(shù)據(jù)庫、CHM
文檔格式開始,通過不斷地探索開發(fā)、集思廣益和不斷改進,又陸續(xù)支持Word
、Excel
、PDF
、Html
、Xml
、Json
、MarkDown
等文檔格式的導(dǎo)出。同時又擴展支持包括SqlServer
、MySql
、PostgreSQL
、SQLite
等多種數(shù)據(jù)庫的文檔查詢和導(dǎo)出功能。
- ? SqlServer
- ? MySQL
- ? Oracle
?待驗證
- ? PostgreSQL (已驗證)
?
- ? 達夢
SchemaSpy:輕松構(gòu)建數(shù)據(jù)庫文檔
https://blog.csdn.net/horses/article/details/115680795
SchemaSpy 安裝
SchemaSpy 基于 Java 開發(fā),我們需要先安裝一個 Java 運行環(huán)境。安裝完成后查看一下版本:
SchemaSpy 使用
SchemaSpy 是一個命令行工具,輸入以下命令查看幫助信息:
使用命令行參數(shù)運行的 SchemaSpy 命令如下:
java -jar schemaspy-vX.Y.Z.jar -t dbType -dp path/to/driver -db dbName -host server -port port_num [-s schema] -u user [-p password] -o outputDir -vizjs
java -jar schemaspy-6.1.0.jar -t pgsql11 -dp D:/Documents/ISMTG/data-integration/lib/postgresql-42.2.23.jar -host 192.168.56.15 -port 5432 -db sales_db -u sales_user -p 123456 -o ./pg -vizjs
需要使用SchemaSpy的-t mysql
參數(shù)指定要連接的MySQL數(shù)據(jù)庫的詳細信息,命令如下:
?
java -jar schemaSpy.jar -t mysql -host 數(shù)據(jù)庫地址 -port 數(shù)據(jù)庫端口 -db 數(shù)據(jù)庫名 -user 用戶名 -password 密碼 -schemas 數(shù)據(jù)庫架構(gòu) -o 目標(biāo)目錄
java -jar schemaspy-6.1.0.jar -t mysql -dp D:/Documents/ISMTG/data-integration/lib/mysql-connector-java-8.0.29.jar -host 192.168.56.20 -port 3306 -db tmalldemodb -u root -p 123456@abc.COM -schemas tmalldemodb -o ./pg -vizjs
?
運行成功后,打開輸出目錄中的 index.html 文件查看數(shù)據(jù)庫文檔。文章來源:http://www.zghlxwxcb.cn/news/detail-733421.html
文章來源地址http://www.zghlxwxcb.cn/news/detail-733421.html
到了這里,關(guān)于SmartSQL 一款開源的數(shù)據(jù)庫文檔管理工具的文章就介紹完了。如果您還想了解更多內(nèi)容,請在右上角搜索TOY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!