SilverStripe\MSSQL\MSSQLDatabase::connect
Connect to a MS SQL database.
Signature
public function connect(array
$parameters )
Parameters
$parameters
— array- An map of parameters, which should include:
- server: The server, eg, localhost
- username: The username to log on with
- password: The password to log on with
- database: The database to connect to
- windowsauthentication: Set to true to use windows authentication
instead of username/password