Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » RADICORE Installation Issues » SQLSRV Driver (How to setup config.inc for multi database option with one of them being 'sqlsrv' )
Re: SQLSRV Driver [message #4767 is a reply to message #4727] Wed, 03 June 2015 17:06 Go to previous messageGo to previous message
rafs is currently offline  rafs
Messages: 69
Registered: May 2015
Member
AJM wrote on Mon, 11 May 2015 04:21


(2) You are not following the instructions at http://www.tonymarston.net/php-mysql/sqlsrv.html#config.inc which states that the server name should be set to "(local)" as in the following:
$servers[1]['dbengine']       = 'sqlsrv';
$servers[1]['serverName']     = '(local)';
$servers[1]['connectionInfo'] = array('CharacterSet' => 'UTF-8',
                                      'ReturnDatesAsStrings' => true);
$servers[1]['SQLSRV_schema']  = 'dbo';


Note: when you are using the $servers array you do not need to use the $GLOBALS array. Use one or the other, but not both.


This seems to refer to localhost.
$servers[1]['serverName']     = '(local)';

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Failed opening required 'include.general.inc'
Next Topic: Error: This application has encountered an unrecoverable error
Goto Forum:
  


Current Time: Thu Nov 28 05:37:09 EST 2024

Total time taken to generate the page: 0.01167 seconds