Freetds introduction, installation, configuration and usage, freetds Introduction
What is FreeTDS?In short, FreeTDS is a library that allows you to access Microsoft's SQL database in Linux! FreeTDS is an open-source Library (if you like it, you can
Install and configure freetds-connect to msssql in Linux
Connecting to MSSQL in Linux is very painful because Microsoft does not provide any interfaces to developers. They think that MSSQL is only a Windows operating system. Fortunately, MSSQL is
In CentOS 5.4 Linux, PHP (FastCGI) needs to connect to the SQL Server 2000 database of the relevant department and configure the extended FreeTDS extension.
1. Compile and install FreeTDS
mkdir -p /data0/software/
cd /data0/software/
Because of the work we need to access our previous SQL Server 2005 data through PHP, so we have the birth of this article. Nonsense is less, do programming the least like to beat around the bush. Use the introduction steps to explain the problem and
What is FreeTDSSimply put, FreeTDS is a library that enables access to Microsoft's SQL database under Linux systems! FreeTDS is an open source (if you prefer to be called free) of the library, is the TDS (table column data stream) protocol is
In the case of php5.3, The dblib driver of pdo cannot connect to mssql. According to the official description, 5.2 has modified this bug, but 5.3 does not. You can use the mssql function provided by php.
In the case of php5.3, The dblib driver of
1. Download: freetds-patched.tar.gz http://www.freetds.org/software.htmlHttp://www.freetds.org/userguide/choosingtdsprotocol.htm# TAR-ZXVF Freetds-patched.tar.gz# CD freetds-1.00.21Note that this is the--with-tdsver=7.4, this is very important, you
Because the company's environment is under Linux, so want to build on their own machines to imitate Linux environment
Environment for Linux +mssql+php +nginx+freetds
So I thought of Cygwin.
Go to http://www.cygwin.com download setup.exe
Then install,
PHP on Linux even MSSQL, using UNIXODBC + FreeTDS Installation steps: Installing UNIXODBC Yum Install UnixODBCYum Install Unixodbc-devel Installing FreeTDS
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.