[技术]菜刀连接postgresql数据库

作者: BI1IHA 分类: 技术文章 发布时间: 2025-01-16 18:05

找了找菜刀中的预存连接串格式中没有postgresql,自己写了一个

在jsp的shell中使用这样的连接串

<T>XDB</T>

<X>

org.postgresql.Driver

jdbc:postgresql://localhost/cbfbirnweb?user=&password=

</X>

备注:

localhost 服务器地址

localhost 数据库名称

user 数据库用户

password 数据库密码

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注