How can i delete database with # in name? Like that: #mysql50#mysql.backup
I don't know who is possible to created it, but it happened. When I try DROP DATABASE name, I have error:
ERROR 1102 (42000): Incorrect database name
Thank you for helping.
|
|
You should always escape database names using backtick quotes, at least in case of doubt.
|
|||
|
|
If the storage engine of the database is MYISAM just stop the database server and remove the directory named after your database in you data directory. (default |
|||
|
|
|
What you could try is to change the name of the database by changing the name of its data directory and then drop the database or just directly delete the directory if you want and the database is deleted as well. |
||||