• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter and SQL Server

#5
This is my database configuration with MSSQL server 1014.
If you using the express edition don't forget the SQLEXPRESS in the hostname!

Goog luck

Code:
$db['default'] = array(
    'dsn'    => '',
    'hostname' => 'LAPTOP-EDDOH\SQLEXPRESS',
    'port' => '1433',
    'username' => 'YOUR_USERNAME',
    'password' => 'YOUR_PASSOWORD',
    'database' => 'YOUR-DATABASENAME',
    'dbdriver' => 'sqlsrv',
    'dbprefix' => '',
    'pconnect' => FALSE,
    'db_debug' => (ENVIRONMENT !== 'production'),
    'cache_on' => FALSE,
    'cachedir' => '',
    'char_set' => 'utf8',
    'dbcollat' => 'utf8_general_ci',
    'swap_pre' => '',
    'encrypt' => FALSE,
    'compress' => FALSE,
    'stricton' => FALSE,
    'failover' => array(),
    'save_queries' => TRUE
Reply


Messages In This Thread
CodeIgniter and SQL Server - by eddoh - 07-27-2018, 08:03 AM
RE: CodeIgniter and SQL Server - by kilishan - 07-27-2018, 08:57 AM
RE: CodeIgniter and SQL Server - by John_Betong - 07-27-2018, 11:05 PM
RE: CodeIgniter and SQL Server - by eddoh - 07-27-2018, 09:17 AM
RE: CodeIgniter and SQL Server - by snelledre - 07-28-2018, 12:16 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.