Database Errors
MySQL: Can't create table
When starting Cascade CMS for the first time or after importing a new MySQL database, administrators may see an error message in the log file similar to the following:
ERROR [StartupTasks] : *** Startup task: DatabaseIndexAndKeyManager
failed to execute successfully: java.sql.SQLException: Can't create table
'.\cascade\#sql-1648_8.frm' (errno:150)
This means that the collation for the tables is incorrect. To fix this problem, take the following steps:
- Drop the database.
- Create the database and alter it to use the proper collation as mentioned in the MySQL Database Configuration section.
- Re-import the database dump from before the last startup was attempted.
- Start Cascade CMS.