-
Notifications
You must be signed in to change notification settings - Fork 52
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SCQL API接口调用报错 #161
Comments
scdbclient默认的用户名密码在对应的配置文件里,用里面的账密试试:cmd/scdbclient/users.json |
另外补充问下:你们是修改了系统的默认密码吗?所以手动指定了root的账密 |
可能是因为alice用户还没有创建? 用户需要创建后才能提交任务,系统默认刚刚启动的时候只有root用户,root可以用于创建其它user。 另外,启动scdbclient的时候,无需指定userName、passwd,可以通过switch root; switch alice; 来使用配置文件cmd/scdbclient/users.json里记录的账密 |
用户按快速开始上的sql 创建了,不创建用户是没办法切换用户的。 |
有报错信息吗,如果是公钥不匹配,可以参考这里:#157 (comment) |
好的,谢谢 |
没有解决,之前是单独部署
没解决,这个是我参考 #157 (comment) 多机部署的方式,在一台机器尝试部署的,后面换成单机版部署了。现在还有多机部署的方式吗?ip要怎么配置? |
重构去除grm后,多机部署的文档还没及时更新(之前的 部署 文档),需要参考单机的配置文件,对engine增加公私钥对应的额外配置才能拉起来。 ip配置没有特殊邀请。 |
没能理解,如果我在多个物理机器上部署,scdb、alice-engine、bob-engine容器安装在三台机器上,scdb是如何跟两台engine通信的呢?是在创建用户时写ip端口吗? |
不好意思,有错字: ip配置没有特殊要求。 |
好的,谢谢 |
Stale issue message. Please comment to remove stale tag. Otherwise this issue will be closed soon. |
我调用 /public/submit_and_get 接口报错
{"status":{"code":101,"message":"user root authentication failed","details":[]},"out_columns":[],"scdb_session_id":"","affected_rows":"0","warnings":[]}
我的入参是这样的:
{
"user": {
"user": {
"account_system_type": "NATIVE_USER",
"native_user": { "name": "root", "password": "testpass" }
}
},
"query": "show databases;",
"biz_request_id": "123455",
"db_name": "scdb"
}
The text was updated successfully, but these errors were encountered: