mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #9102 from sminnee/doc-pdo
DOCS: Change default database connector.
This commit is contained in:
commit
0daed7b9be
docs/en/00_Getting_Started
@ -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…
Reference in New Issue
Block a user