CREATE USER name1
IDENTIFIED WITH sha256_password BY 'TEST'
DEFAULT DATABASE 'lmd' ;
I get an error - Expected one of: ROLE, end of query
If I provide a role also just for the sake of it and run below query -
CREATE USER name1
IDENTIFIED WITH sha256_password BY 'TEST'
DEFAULT ROLE 'test' DEFAULT DATABASE 'lmd' ;
The error for this statement is - Expected one of: end of query, HOST, EXCEPT, Comma, SETTINGS, ON, GRANTEES, At, token
What am I missing?
Thanks,
Amit