Guest User

Untitled

a guest
Jul 8th, 2018
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. ap = PlainTextAuthProvider(username='cassandra',password='cassandra')
  2. cass_contact_points=['localhost']
  3. cluster = Cluster(['localhost'],auth_provider=ap)
  4. session = cluster.connect('dbsi')
Add Comment
Please, Sign In to add comment