当前位置:Gxlcms > 数据库问题 > gaussdb常见问题

gaussdb常见问题

时间:2021-07-01 10:21:17 帮助过:86人阅读

  • 问题

create user hr with SYSADMIN password ‘Gauss_234‘;  

失败

技术图片

 

解答:

因为是从网页拷贝过来的,实际上

技术图片

 在聊天软件中拷贝一下,再复制到gsql中即可。

 

另外,创建用户的语句有如下:

create user hr password ‘Gauss_234‘ sysadmin;

create user hr sysadmin password ‘Gauss_234‘;

create user hr with sysadmin password ‘Gauss_234‘;

drop user hr cascade;

技术图片

 

 

 

  • 问题

gs_dump db9 -f 1.dump -p 8000 -U rdsAdmin -W ********@123Pwd -F p

技术图片

 

 这是因为连接的是dn端口,需要cm_ctl view|grep coor查看cn端口进行连接。

 

gaussdb常见问题

标签:常见问题   load   ima   查看   用户   连接   image   cad   pass   

人气教程排行