Chapter 3. Install FreeTDS

 

If you install it they will stay?

Table of Contents
The local environment
Choosing a TDS protocol version
The freetds.conf file
The locales.conf file
Setting the environment variables
Port override syntax
Confirm the installation

NoteConfusing terminology
 

"Configuring" and "installing" don't have absolute, context-free definitions. In some circles, we install a product and then configure it. In the GNU world, we configure the package (generate the Makefiles), then we make install the package. To install the package is to copy the binaries to their appropriate run-time directories, copy the documentation to the doc directory, and maybe let the package manager know what's happened. That's generally considered part of the build process, covered in the last chapter.

For lack of a better term, this chapter describes installing the product. Put more specifically, once we're done with the package manager, we still have to tell FreeTDS about your database servers, and we still have to tell your client programs about FreeTDS.

The local environment

After FreeTDS has been built and installed, it still doesn't know where your servers are or what particular version of Sybase or Microsoft software each one is using.

The purpose of this section is to explain how to describe your dataservers to FreeTDS. FreeTDS looks up your server's attributes in freetds.conf. Some of the attributes can be overridden by environment variables.

One of the more important (and arcane) settings is the TDS protocol version, described next.