IBM Support

Connection Errors With cqlsh And Other DSE Tools

Troubleshooting


Problem

Connection errors with cqlsh and other DSE tools

If authentication_options are enabled (true) in the dse.yaml, credentials are required to launch cqlsh and other tools:
cqlsh -u username -p password

 
If a client connection is attempted without permission, the following error occurs:
Connection error: ('Unable to connect to any servers', {'127.0.0.1': error(111, "Tried connecting to [('127.0.0.1', 9042)]. Last error: Connection refused")})

 
See Providing credentials with cqlsh and SSL certificate doesn't match.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB76","label":"Data Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCR56","label":"IBM DataStax Enterprise"},"ARM Category":[{"code":"","label":""}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Version(s)"}]

Historical Number

ka06R000000EsX5QAK

Document Information

Modified date:
30 January 2026

UID

ibm17259085