The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Создать новую тему
 - Свернуть нити
Пометить прочитанным
Архив | Избранное | Мое | Новое | | |  
Форум WEB технологии
php70 как подключить к mssql-серверу, !*! cr1m, 20-Сен-17, 15:53  [ | | | ] [линейный вид] [смотреть все] [раскрыть новое]
  • НАстроил odbc ini, odbcinst ini, freetds conf, теперь такая ошибкаisql -v w2k3ne, !*! cr1m (ok), 20:11 , 20-Сен-17 (1) –1
    НАстроил odbc.ini, odbcinst.ini, freetds.conf, теперь такая ошибка

    isql -v w2k3new.domain.local user password
    [S1000][unixODBC][FreeTDS][SQL Server]Unable to connect to data source
    [08S01][unixODBC][FreeTDS][SQL Server]Bad token from the server: Datastream processing out of sync
    [01000][unixODBC][FreeTDS][SQL Server]Changed database context to 'IPT_SQL'.
    [ISQL]ERROR: Could not SQLConnect


    odbc.ini:
    [w2k3new.domain.local]
    Driver = FreeTDS
    Description = mssql
    Trace = Yes
    Server = 192.168.1.173
    Port = 1433
    TDS version = 7.4
    Database = IPT_SQL


    odbcinst.ini:
    [FreeTDS]
    Description = FreeTDS 7.4
    Driver = /usr/local/lib/libtdsodbc.so.0

    freetds.conf:
    [global]
            # TDS protocol version
            tds version = auto

            # Whether to write a TDSDUMP file for diagnostic purposes
            # (setting this to /tmp is insecure on a multi-user system)
            dump file = /tmp/freetds.log
    ;       debug flags = 0xffff

            # Command and connection timeouts
    ;       timeout = 10
    ;       connect timeout = 10

            # If you get out-of-memory errors, it may mean that your client
            # is trying to allocate a huge buffer for a TEXT field.
            # Try setting 'text size' to a more reasonable limit
            text size = 64512

            # If you experience TLS handshake errors and are using openssl,
            # try adjusting the cipher list (don't surround in double or single quotes)
            # openssl ciphers = HIGH:!SSLv2:!aNULL:-DH

    # A typical Sybase server
    [mypool]
            host = 127.0.0.1
            port = 5000
            tds version = 5.0

    # A typical Microsoft server
    [w2k3new.domain.local]
            host = w2k3new.domain.local
            port = 1433
            tds version = 8.0
            client charset = cp1251

    Есть тут спецы по этому вопросу?

    сообщить модератору –1 +/ответить
 
Пометить прочитанным Создать тему
Архив | Избранное | Мое | Новое | | |



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру