title: Cassandra - Cannot achieve consistency level QUORUM
body: <p>I'm running a single node at the moment. I'm trying to enable password authentication for Cassandra. </p>
  
  <p>I'm following this guide: <a href="http://cassandra.apache.org/doc/latest/operating/security.html#password-authentication" rel="noreferrer">http://cassandra.apache.org/doc/latest/operating/security.html#password-authentication</a></p>
  
  <p>I'll note that I didn't alter <code>system_auth</code>'s replication as it's a single node cluster.</p>
  
  <p>I edited <code>cassandra.yaml</code> to use <code>authenticator: PasswordAuthenticator</code>.</p>
  
  <p>I then restarted cassandra and tried the command <code>cqlsh -u cassandra -p cassandra</code>, but that gives me the error: </p>
  
  <pre><code>Connection error: ('Unable to connect to any servers',
  {'127.0.0.1': AuthenticationFailed(u'Failed to authenticate to 127.0.0.1: 
  code=0100 [Bad credentials] message="org.apache.cassandra.exceptions.
  UnavailableException: Cannot achieve consistency level QUORUM"',)})
  </code></pre>
  
  <p>I've tried running <code>nodetool repair</code> but it says: <code>Replication factor is 1. No repair is needed for keyspace 'system_auth'</code></p>
  
  <p>How do I solve this?</p>