mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
DOCS: Change default database connector.
This commit is contained in:
parent
6a8c6703d1
commit
4b15c90c72
@ -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');
|
||||
|
@ -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).|
|
||||
|
Loading…
x
Reference in New Issue
Block a user