Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

配置PostgreSQL数据源 #19

Open
ZOOUQinn opened this issue Jun 10, 2020 · 1 comment
Open

配置PostgreSQL数据源 #19

ZOOUQinn opened this issue Jun 10, 2020 · 1 comment

Comments

@ZOOUQinn
Copy link

我这里尝试将PostgreSQL做为数据源。
按说明文档下载了JDBC驱动(https://jdbc.postgresql.org/download.html )并放置到 /opt/davinci/lib/
Screenshot from 2020-06-10 20-40-18

但PostgreSQL没有可支持的数据库列表中。并且提示:
Not supported data type: jdbcUrl=jdbc:postgresql://..../...

请问,我可能在那个步骤出错?

@lytanz
Copy link

lytanz commented Sep 25, 2023

一、 配置好了需要重新项目,进入你的项目执行路径/opt/davinci/bin,然后执行restart-server.sh,然后刷新网页,在选项中就会出现postgresql了。
二、 还需要注意一点的是,需要将davinci的lib目录添加到系统路径中,否则会在保存的时候报错 JDBC driver is not found: postgresql

  1. 在 /etc/profile 文件中添加export PATH=PATH:$DAVINCI3_HOME/lib
  2. 然后刷新配置source /etc/profile
  3. 最后重新启动项目,就可以正常配置PostgreSql了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants