mirror of
https://github.com/dg/dibi.git
synced 2025-07-31 19:30:30 +02:00
removed MsSqlDriver (is not available with PHP 5.3 or later; replaced with SqlsrvDriver)
This commit is contained in:
@@ -112,22 +112,6 @@ try {
|
||||
echo "</p>\n";
|
||||
|
||||
|
||||
// connects to MS SQL
|
||||
echo '<p>Connecting to MS SQL: ';
|
||||
try {
|
||||
dibi::connect([
|
||||
'driver' => 'mssql',
|
||||
'host' => 'localhost',
|
||||
'username' => 'root',
|
||||
'password' => 'xxx',
|
||||
]);
|
||||
echo 'OK';
|
||||
} catch (Dibi\Exception $e) {
|
||||
echo get_class($e), ': ', $e->getMessage(), "\n";
|
||||
}
|
||||
echo "</p>\n";
|
||||
|
||||
|
||||
// connects to SQLSRV
|
||||
echo '<p>Connecting to SQLSRV: ';
|
||||
try {
|
||||
|
Reference in New Issue
Block a user