Error during installation
Question
When trying to install or upgrade Movable Type, I get an error messages that says Error during installation: [some error].
Answer
No Database Selected
Review your mt-config.cgi1 file to make sure you've included a proper Database directive. Before editing, the relevant line in mt-config.cgi looks like this:
# Database <database-name>
Note that <database-name> should be replaced with the correct information; in other words, you should not leave the < and > symbols in place when substituting your database name. You must also uncomment the directive2.
Access denied for user
First, review your mt-config.cgi1 file to make sure you've specified the proper values for the Database and DBUser directives. Before editing, the relevant lines in mt-config.cgi look like this:
# Database <database-name>
# DBUser <database-username>
Note that the <database-name> and <database-username> sections should be replaced with the correct information; in other words, you should not leave the < and > symbols in place when substituting your database and user names. You must also uncomment each of these settings2.
If the values you've specified for Database and DBUser are correct, then this error is an indication that your MySQL username (database_user) does not have all of the privileges required to run the script. Grant the username full privileges to the database to resolve the error.
Once full privileges have been assigned, you should drop the tables in your MySQL database and re-execute the script.
[Some] command denied to user
This error is an indication that your MySQL username (database_user) does not have all of the privileges required to run the script (specifically, the command in place of [Some]). Grant the username full privileges to the database to resolve the error.
Once full privileges have been assigned, you should drop the tables in your MySQL database and re-execute the script.
1 In versions prior to 3.2, the configuration file is named mt.cfg.
2 To uncomment a directive means to remove the # from the beginning of the line where it appears.


