DOCS: Change default database connector.

This commit is contained in:
Sam Minnee 2019-07-01 10:37:19 +12:00
parent 6a8c6703d1
commit 4b15c90c72
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ Add or edit your `_ss_environment.php` configuration file. (See [Environment Man
<?php
// These four define set the database connection details.
define('SS_DATABASE_CLASS', 'MySQLPDODatabase');
define('SS_DATABASE_CLASS', 'MySQLDatabase');
define('SS_DATABASE_SERVER', 'db1.example.com');
define('SS_DATABASE_USERNAME', 'dbuser');

View File

@ -85,7 +85,7 @@ SilverStripe core environment variables are listed here, though you're free to d
| Name | Description |
| ---- | ----------- |
| `SS_DATABASE_CLASS` | The database class to use, MySQLPDODatabase, MySQLDatabase, MSSQLDatabase, etc. defaults to MySQLPDODatabase.|
| `SS_DATABASE_CLASS` | The database class to use, MySQLPDODatabase, MySQLDatabase, MSSQLDatabase, etc. defaults to MySQLDatabase.|
| `SS_DATABASE_SERVER`| The database server to use, defaulting to localhost.|
| `SS_DATABASE_USERNAME`| The database username (mandatory).|
| `SS_DATABASE_PASSWORD`| The database password (mandatory).|