Index: includes/database/mysql/install.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/database/mysql/install.inc,v retrieving revision 1.3 diff -u -r1.3 install.inc --- includes/database/mysql/install.inc 27 Jul 2009 19:42:56 -0000 1.3 +++ includes/database/mysql/install.inc 29 Jul 2010 15:26:37 -0000 @@ -6,13 +6,23 @@ * Installation code for MySQL embedded database engine. */ - -// MySQL specific install functions - +/** + * Specifies installation tasks for MySQL and equivalent databases. + */ class DatabaseTasks_mysql extends DatabaseTasks { + + /** + * The PDO driver name for MySQL and equivalent databases. + * + * @var string + */ protected $pdoDriver = 'mysql'; + + /** + * Returns a human-readable name string for MySQL and equivalent databases. + */ public function name() { - return 'MySQL'; + return 'MySQL, MariaDB, or equivalent'; } } Index: includes/install.core.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/install.core.inc,v retrieving revision 1.25 diff -u -r1.25 install.core.inc --- includes/install.core.inc 2 Jul 2010 15:32:10 -0000 1.25 +++ includes/install.core.inc 29 Jul 2010 15:26:37 -0000 @@ -858,7 +858,7 @@ ); if (count($drivers) == 1) { $form['driver']['#disabled'] = TRUE; - $form['driver']['#description'] .= ' ' . st('Your PHP configuration only supports the %driver database type so it has been automatically selected.', array('%driver' => current($drivers))); + $form['driver']['#description'] .= ' ' . st('Your PHP configuration only supports a single database type, so it has been automatically selected.'); } // Database name. Index: includes/install.inc =================================================================== RCS file: /cvs/drupal/drupal/includes/install.inc,v retrieving revision 1.139 diff -u -r1.139 install.inc --- includes/install.inc 26 Jul 2010 13:20:01 -0000 1.139 +++ includes/install.inc 29 Jul 2010 15:26:37 -0000 @@ -278,7 +278,7 @@ 'arguments' => array( 'CREATE TABLE drupal_install_test (id int NULL)', 'Drupal can use CREATE TABLE database commands.', - 'Failed to CREATE a test table on your %name database server with the command %query. %name reports the following message: %error.
Are you sure the configured username has the necessary %name permissions to create tables in the database?
', + 'Failed to CREATE a test table on your database server with the command %query. The server reports the following message: %error.Are you sure the configured username has the necessary permissions to create tables in the database?
', TRUE, ), ), @@ -286,28 +286,28 @@ 'arguments' => array( 'INSERT INTO drupal_install_test (id) VALUES (1)', 'Drupal can use INSERT database commands.', - 'Failed to INSERT a value into a test table on your %name database server. We tried inserting a value with the command %query and %name reported the following error: %error.', + 'Failed to INSERT a value into a test table on your database server. We tried inserting a value with the command %query and the server reported the following error: %error.', ), ), array( 'arguments' => array( 'UPDATE drupal_install_test SET id = 2', 'Drupal can use UPDATE database commands.', - 'Failed to UPDATE a value in a test table on your %name database server. We tried updating a value with the command %query and %name reported the following error: %error.', + 'Failed to UPDATE a value in a test table on your database server. We tried updating a value with the command %query and the server reported the following error: %error.', ), ), array( 'arguments' => array( 'DELETE FROM drupal_install_test', 'Drupal can use DELETE database commands.', - 'Failed to DELETE a value from a test table on your %name database server. We tried deleting a value with the command %query and %name reported the following error: %error.', + 'Failed to DELETE a value from a test table on your database server. We tried deleting a value with the command %query and the server reported the following error: %error.', ), ), array( 'arguments' => array( 'DROP TABLE drupal_install_test', 'Drupal can use DROP TABLE database commands.', - 'Failed to DROP a test table from your %name database server. We tried dropping a table with the command %query and %name reported the following error %error.', + 'Failed to DROP a test table from your database server. We tried dropping a table with the command %query and the server reported the following error %error.', ), ), ); @@ -394,7 +394,7 @@ $this->pass('Drupal can CONNECT to the database ok.'); } catch (Exception $e) { - $this->fail(st('Failed to connect to your %name database server. %name reports the following message: %error.