Thread Zugriff auf MSSQL-Datenbank mit DBI (11 answers)
Opened by vroni at 2014-08-22 10:51

vroni
 2014-08-26 12:10
#176984 #176984
User since
2014-08-22
6 Artikel
BenutzerIn
[default_avatar]
tsql -C
Code: (dl )
1
2
3
4
5
6
7
8
9
10
Compile-time settings (established with the "configure" script)
Version: freetds v0.82
freetds.conf directory: /etc/freetds
MS db-lib source compatibility: no
Sybase binary compatibility: yes
Thread safety: yes
iconv library: yes
TDS version: 4.2
iODBC: no
unixodbc: yes


freetds.conf
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[global]
# TDS protocol version
; tds version = 4.2

# 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

[sqlexpress]
host = 192.192.192.192
port = 1433
tds version = 4.2


Aber auf freetds.conf wird doch gar nicht zugegriffen, wenn ich Host und Port angebe (soweit ich das richtig verstanden habe).

View full thread Zugriff auf MSSQL-Datenbank mit DBI