Skip to content
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中心化部署(alice和bob分别在不同的机器上)的说明吗? #356

Closed
lichengjie1112 opened this issue Sep 12, 2024 · 4 comments

Comments

@lichengjie1112
Copy link

image
基于此文档:
https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.0b1/intro/tutorial
前面步骤均已完成
到创建数据库、用户和数据表这一步
参与方的alice和bob分别在不同的机器上
这种情况是不是不能完全照着文档中的命令执行了?
image

@anakinxc anakinxc transferred this issue from secretflow/.github Sep 12, 2024
@BrainWH
Copy link

BrainWH commented Sep 12, 2024

你好。单机和多机的原理是一致的,可以参考https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.0b1/topics/deployment/how-to-deploy-centralized-cluster

@lichengjie1112
Copy link
Author

你好。单机和多机的原理是一致的,可以参考https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.0b1/topics/deployment/how-to-deploy-centralized-cluster

好的,现在遇到的问题是,创建完用户alice和bob,查询数据库的时候报authentication failed
image
创建用户的语句是用./scqltool genCreateUserStmt --user bob --passwd 123456 --party bob --pem examples/scdb-tutorial/engine/bob/conf/ed25519key.pem生成的,请问跟users.json有关系吗?
image

@lanyy9527
Copy link

查看下配置 authorized_profile.json 内容是否匹配

@tongke6
Copy link
Collaborator

tongke6 commented Sep 13, 2024

你好。单机和多机的原理是一致的,可以参考https://www.secretflow.org.cn/zh-CN/docs/scql/0.9.0b1/topics/deployment/how-to-deploy-centralized-cluster

好的,现在遇到的问题是,创建完用户alice和bob,查询数据库的时候报authentication failed image 创建用户的语句是用./scqltool genCreateUserStmt --user bob --passwd 123456 --party bob --pem examples/scdb-tutorial/engine/bob/conf/ed25519key.pem生成的,请问跟users.json有关系吗? image

scdbclient 指定的是这个 users.json 文件吗?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants