Merge pull request #2725 from taosdata/feature/pyconn

[TD-971] change create db sql
This commit is contained in:
Shengliang Guan 2020-07-21 14:57:59 +08:00 committed by GitHub
commit b116e730a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ if __name__ == '__main__':
# Create a database named db
try:
c1.execute('create database db')
c1.execute('create database if not exists db ')
except Exception as err:
conn.close()
raise(err)