Postgresql SchemaSpy-连接失败
我想可视化我的数据库,并尝试使用SchemaSpy,但我无法连接到数据库。这是一个mysql数据库,运行在我的计算机上,可在localhost下访问,我使用以下命令调用SchemaSpy:Postgresql SchemaSpy-连接失败,postgresql,jdbc,schemaspy,Postgresql,Jdbc,Schemaspy,我想可视化我的数据库,并尝试使用SchemaSpy,但我无法连接到数据库。这是一个mysql数据库,运行在我的计算机上,可在localhost下访问,我使用以下命令调用SchemaSpy: java -jar schemaspy-6.0.0.jar -t mysql -dp postgresql-42.2.7.jar -db <name> -host <host> -p <port> -s <name> -u <user> -p <
java -jar schemaspy-6.0.0.jar -t mysql -dp postgresql-42.2.7.jar -db <name> -host <host> -p <port> -s <name> -u <user> -p <password> -o ./output/
我还尝试设置--invalize access=warn参数,但没有任何更改
有人知道可能是什么问题吗
非常感谢 如果使用Postgres,为什么要指定
-t mysql
?您应该使用-t postgresql
SchemaSpy generates an HTML representation of a database schema's relationships.
SchemaSpy comes with ABSOLUTELY NO WARRANTY.
SchemaSpy is free software and can be redistributed under the conditions of LGPL version 3 or later.
http://www.gnu.org/licenses/
INFO - Starting Main v6.0.0 on ####### with PID 10774 (/path/to/file started by ##### in /path/to/file)
INFO - The following profiles are active: default
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.springframework.cglib.core.ReflectUtils$1 (jar:file:/path/to/file/schemaspy-6.0.0.jar!/BOOT-INF/lib/spring-core-4.3.13.RELEASE.jar!/) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of org.springframework.cglib.core.ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
INFO - Found configuration file: schemaspy.properties
INFO - Started Main in 1.397 seconds (JVM running for 1.944)
INFO - Starting schema analysis
WARN - Connection Failure