connecting to windows sql server

 install freetds



vi /usr/local/freetds/etc/freetds.conf


[myserver]

        host = 115.112.240.105

        # host = ntmachine.domain.com

        port = 1433

        tds version = 7.0


[myserver3]

        host = 192.227.108.64

        port = 1433

        tds version = 7.0


[myserver2]

        host = 192.227.65.65

        port = 1433

        tds version = 7.0


[myserver1]

        host = 154.27.75.96

        port = 1433

        tds version = 7.0




      'host' => 'localhost',

      'user' => 'rcautomat_in',

      'password' => 'automation',

      'database' => 'rcautomat_in',

      'port' => 3306,

Comments

Popular posts from this blog

cpanel exam CPSP Answers

How to install zimbra collaboration suite 8.8.11 on CentOS 7

awstats installation