免費做網(wǎng)站電話市場營銷策略有哪些
文章目錄
- 1. gaussdb創(chuàng)建遠程連接用戶和數(shù)據(jù)庫
- 2. weblogic構(gòu)建GaussDB源數(shù)據(jù)庫
- 3. 測試結(jié)果查詢
注意
- weblogic中jar包已經(jīng)放入lib目錄中
- gaussdb已經(jīng)創(chuàng)建可以連接登錄的用戶和數(shù)據(jù)庫
1. gaussdb創(chuàng)建遠程連接用戶和數(shù)據(jù)庫
新建用戶和數(shù)據(jù)庫連接客戶端Gauss=# create user lily password 'qwe123QWE';
CREATE ROLE
給用戶授權(quán)
Gauss=# grant all privileges to lily;
ALTER ROLE
新建數(shù)據(jù)庫
Gauss=# create database test1 template template0 lc_collate 'C' lc_ctype 'C' encoding 'gbk';
CREATE DATABASE
給lily用戶對數(shù)據(jù)庫有登錄權(quán)限
Gauss=# grant connect on database test1 to lily;
GRANT
2. weblogic構(gòu)建GaussDB源數(shù)據(jù)庫
點擊域結(jié)構(gòu)中【服務(wù)】–>【數(shù)據(jù)源】,點擊【新建】【一般數(shù)據(jù)源】
填寫數(shù)據(jù)后點擊下一步