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.

Not able to delete the database, database name with hyphen

Hello,

I am getting error while try to delete the database when database name exists with hyphen. I noticed that if name doesn't contain hyphen, then delete works.

Question is, what can be done here?

1 ACCEPTED SOLUTION
3 REPLIES 3

Enclose the name in back ticks.

Hello @MD_AJMAL_YAZDANI

The solution of @glilienfield is right and means:

DROP DATABASE `online-store`

Regards,
Cobra

Thank you all guys, .......