cd /opt/Kingbase/ES/V8/Server/bin
./ksql -Usystem -p54321 bigdata
CREATE USER shareaccount with password 'xx';
GRANT connect ON database bigdata to shareaccount;
GRANT usage ON schema public to shareaccount;
GRANT SELECT on public."T_TARGET_SHARE_INFO" to shareaccount;
./ksql -Ushareaccount -p54321 bigdata
select * from "T_TARGET_SHARE_INFO";