Bug: MySQL Unable to delete site with dash in name

root@dev:/etc/nginx/sites-enabled# ee site create example-example.com --wp
Setting up NGINX configuration     [Done]
Setting up webroot         [Done]
Downloading Wordpress         [Done]
Setting up database        [Done]
Reload : nginx     [OK]
WordPress admin user : nope
WordPress admin user password : nr2ocAdzkGMh3lR
Successfully created site http://example-example.com

root@dev:/etc/nginx/sites-enabled# ee site delete example-example.com 
Do you want to delete database[Y/N]: Y
Do you want to delete webroot[Y/N]: Y
Do you want to delete NGINX configuration [Y/N]: Y
Unable to drop database example-example_com

Database table according to mysql is as ee expects - ‘example-example_com’ - perhaps an escaping issue?

-Clin,

hi @clin,

will you please give me output of this command,

ee --version

root@dev:~# ee --version

EasyEngine v3.0.2 Copyright © 2015 rtCamp Solutions Pvt. Ltd.

root@dev:~# mysql --version

mysql Ver 14.14 Distrib 5.6.22-72.0, for debian-linux-gnu (x86_64) using EditLine wrapper

root@dev:~# uname -a

Linux dev 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Thank you,

Will you please upgrade your version.We had already Fixed this issue.So please upgrade your version and Let me know if you face any issue.

Hi @clin

As this issue has been fixed, I am closing this support topic for now. Feel free to create a new support topic if you have any queries further. :slight_smile: