Skip to content

Instantly share code, notes, and snippets.

@chadj
Created March 5, 2009 16:00
Show Gist options
  • Save chadj/74409 to your computer and use it in GitHub Desktop.
Save chadj/74409 to your computer and use it in GitHub Desktop.
# This file is installed by FreeTDS if no file by the same
# name is found in the installation directory.
#
# For information about the layout of this file and its settings,
# see the freetds.conf manpage "man freetds.conf".
# Global settings are overridden by those in a database
# server specific section
[global]
# TDS protocol version
tds version = 7.0
client charset = UTF-8
# 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 = 262144
[dbservername]
host = dbhostname.mycompany.com
tds version = 7.0
client charset = UTF-8
text size = 262144
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment