Welcome Guest, Not a member yet? Register   Sign In
SQL server connection not working
#14

Also tested on a fresh install of CI 4.5.1:
PHP Code:
public array $sqlsrv = [
        'DSN'        => '',
        'hostname'  => '127.0.0.1\sqlexpress',
        'username'  => 'uid',
        'password'  => 'pass',
        'database'  => 'db',
        'schema'    => 'dbo',
        'DBDriver'  => 'SQLSRV',
        'DBPrefix'  => '',
        'pConnect'  => false,
        'DBDebug'    => true,
        'charset'    => 'utf8',
        'swapPre'    => '',
        'encrypt'    => false,
        'failover'  => [],
        'port'        => '',
        'dateFormat' => [
            'date'    => 'Y-m-d',
            'datetime' => 'Y-m-d H:i:s',
            'time'    => 'H:i:s',
        ],
    ]; 


works without problems.
Reply


Messages In This Thread
SQL server connection not working - by falagar2k - 04-24-2024, 02:31 AM
RE: SQL server connection not working - by kenjis - 04-24-2024, 05:44 PM
RE: SQL server connection not working - by kenjis - 04-25-2024, 12:54 AM
RE: SQL server connection not working - by kenjis - 04-25-2024, 04:31 AM
RE: SQL server connection not working - by kenjis - 04-25-2024, 03:59 PM
RE: SQL server connection not working - by JustJohnQ - 04-26-2024, 04:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB