DROP TABLE logs/#sql-ib203 does not work due to / :
Error code: 1064. You have an error in the SQL syntax; check the manual that matches your version of MySQL server for the correct syntax to use next to '/ # sql-ib203' on line 1
The logs/#sql-ib203 appeared after a database failure (not enough disk space when re-indexing and deleting some attributes in the table in the logs database). SHOW TABLES does not display the logs/#sql-ib203 , but when trying to ALTER table that was modified during the crash, MySQL complains about the existence of the logs/#sql-ib203 :
ERROR 1050: The tables "logs / # sql-ib203" already exist
SQL statement:
ALTER TABLE logs . srv_logs DROP COLUMN filenum , DROP COLUMN agent , DROP COLUMN ip , DROP COLUMN event_source
I am using MySQL 5.6.12-winx64 and InnoDB.
source share