spring:
application:
name: wgcloud-server
datasource:
driver-class-name: org.postgresql.Driver
url: jdbc:postgresql://localhost:5432/wgcloud
username: wgcloud
password: 123456
[wgcloud@2a2e1fabd93a /]$ gsql
gsql ((openGauss 1.0.0 build 38a9312a) compiled at 2020-05-27 14:58:08 commit 472 last mr 549 )
Non-SSL connection (SSL connection is recommended when requiring high-security)
Type "help" for help.
wgcloud=# GRANT ALL PRIVILEGES TO wgcloud;
ALTER ROLE
wgcloud=# \q
[wgcloud@2a2e1fabd93a /]$ gsql -d wgcloud -h 192.168.1.22 -p 5432 -U wgcloud -f /wgcloud-PostgreSQL.sql
Password for user wgcloud:
CREATE TABLE
CREATE TABLE
CREATE TABLE
......