DATETIME to include milliseconds. Remove index if error creating table.
If there's an error creating the table, then removing the table stops
duplicate entries in the index.
Add quotes around delete query
Merge pull request #614 from cdjackson/mysql

Mysql error handling in event of failure to create table