LOGIN

Use LOGIN to switch from one user to another within cqlsh.

Synopsis

cqlsh> LOGIN user_name password
Table 1. Legend
  • Uppercase means literal
  • Lowercase means not literal
  • Italics mean optional
  • The pipe (|) symbol means OR or AND/OR
  • Ellipsis (...) means repeatable

A semicolon that terminates CQL statements is not included in the synopsis.

Description

Use this command to change login information without requiring cqlsh to restart. Login using a specified username. If the the password is specified, it will be used. Otherwise, you will be prompted to enter the password.

Examples

Login as the user cutie with the password patootie.

LOGIN cutie patootie