python
from crate import client
connection = client.connect(['localhost:4200'])
cursor = connection.cursor()
cursor.execute('SELECT * FROM my_table')
result = cursor.fetchall()
for row in result:
print(row)
cursor.close()
connection.close()
yaml
cluster.name: crate-cluster
node.name: crate-node
network.host: _site_
http.port: 4200
discovery.seed_hosts: ["localhost"]