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

What is the default password for the new createduser #5565

Closed
bigdata-spec opened this issue May 29, 2023 · 3 comments
Closed

What is the default password for the new createduser #5565

bigdata-spec opened this issue May 29, 2023 · 3 comments

Comments

@bigdata-spec
Copy link

bigdata-spec commented May 29, 2023

Hello,
I want to know What is the default password for the new createduser ?
for example:
nebula> CREATE USER user1;
so I don't know password for user1?
Thank you very much.

@wey-gu
Copy link
Contributor

wey-gu commented May 29, 2023

It should be "", the empty string :)

ref:

$$ = new CreateUserSentence($4, new std::string(""), $3);

I think we could document this. cc @cooper-lzy @abby-cyber ?

@wey-gu
Copy link
Contributor

wey-gu commented May 29, 2023

see also:

(root@nebula) [basketballplayer]> CREATE USER user1
Execution succeeded (time spent 2.889ms/5.088208ms)

Mon, 29 May 2023 17:30:38 CST

(root@nebula) [basketballplayer]> CHANGE PASSWORD user1 FROM 'nebula' TO 'nebula123';
[ERROR (-1005)]: Invalid password!

Mon, 29 May 2023 17:31:00 CST

(root@nebula) [basketballplayer]> CHANGE PASSWORD user1 FROM '' TO 'nebula123';
Execution succeeded (time spent 2.912ms/4.289375ms)

Mon, 29 May 2023 17:31:07 CST

@wey-gu
Copy link
Contributor

wey-gu commented May 30, 2023

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

3 participants