That was discovered, reported, and fixed last week (revision 3825). It’s a matter of the $conn variable in the wrong place in the install script;
http://svn.modxcms.com/jira/browse/MODX-183
on line 19 of connection.databasetest.php this line won’t work (results in a failure to connect/create the database)
Code:
if (!@ mysql_select_db(str_replace("`", "", $database_name, $conn))) {
The $conn parameter of mysql_select_db is in the wrong place... should be
Code:
if (!@ mysql_select_db(str_replace("`", "", $database_name), $conn)) {