SchemaSpy PostgreSQL - WARN - Connection Failure

后端 未结 2 1694
温柔的废话
温柔的废话 2021-02-15 05:52

I try to connect to my PostgresSQL server using SchemaSpy. I installed Java using oracle-java8-installer from ppa:webupd8team/java.

(My Postgre

2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-15 06:45

    Ok I finally know what was the problem. This line schemaspy.dp=postgresql-42.2.4.jar should be added directly after definition of type of database. Now my schemaspy.properties file is:

    # type of database. Run with -dbhelp for details
    schemaspy.t=pgsql
    # optional path to alternative jdbc drivers.
    schemaspy.dp=postgresql-42.2.4.jar
    # database properties: host, port number, name user, password
    schemaspy.host=localhost:5431
    schemaspy.port=5431
    schemaspy.db=dbname
    schemaspy.u=dbuser
    schemaspy.p=dbpassword
    # output dir to save generated files
    schemaspy.o=/home/user/dump
    # db scheme for which generate diagrams
    schemaspy.s=public
    

    And works properly.

提交回复
热议问题