cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

Create and drop database from python app

Hello everyone
I want to create/drop a database from my python app. How can I do it?
I tried the following but it fails to do.

with driver.session(database='system') as session_1:
    t_1 = session_1.begin_transaction()
    result = t_1.run('''CREATE DATABASE myname''')
0 REPLIES 0