您现在的位置是:Linux系统连接MSSQL(freetds)
Linux系统连接MSSQL(freetds)
安装unixODBC、freetds
cd ~ yum install unixODBC wget http://mirrors.xmu.edu.cn/ubuntu/archive/pool/main/f/freetds/freetds_0.82.orig.tar.gz tar -zxvf freetds_0.82.orig.tar.gz cd freetds-0.82 ./configure --prefix=/usr/local/freetds --with-tdsver=8.0 --enable-msdblib --enable-dbmfix make && make install echo "/usr/local/freetds/lib" >> /etc/ld.so.conf ldconfig /usr/local/freetds/bin/tsql -H 10.206.3.9 -p 1433 -U admin -P 123456连接成功后,显示
locale is "en_US.UTF-8" locale charset is "UTF-8" 1>

/php-5.4.41/ext/mssql/mssql /usr/local/webserver/php/bin/phpize ./configure –with-php-config=/usr/local/webserver/php/bin/php-config –with-mssql=/usr/local/freetds make make install find / -name mssql.so /usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/mssql.so vi /usr/local/php/etc/php.ini extension=/usr/local/php/lib/php/extensions/no-debug-non-zts-20100525/mssql.so配置freetds.conf
vi /usr/local/freetds/etc/freetds.conf #Chinese client charset = GBK # A typical Microsoft server [egServer] host = 10.206.3.9 port = 1433 tds version = 8.0
随便看看
- Linux挂载新硬盘
- Linux系统连接MSSQL(freetds)
- extman提示Connection refused
- 微信昵称Emoji表情不能存数据解决办法
- 查看Linux网卡数据包
- 鼠标移上去出现显示层
- PHP获取文件创建时间、修改时间
- 常用正则表达式
- 到ICANN投诉三五互联获取域名转移密码成功
- CentOS 网卡报错 Determining if ip address x.x.x.x is already in use for device eth0
- [emerg] (43)Identifier removed: couldn't grab the accept mutex
- Cacti修改MySQL数据库默认字符集
- 用find查找文本内容
- MySQL字符集latin1导出中文乱码
- Cacti配置远程MySQL
站长简介
分类
最新文章
热门文章
- 微信支付退款结果通知解密
- 到ICANN投诉三五互联获取域名转移密码成功
- Linux修改密码提示passwd /usr/share/cracklib/pw_dict: error reading header
- {"errcode":45047,"errmsg":"out of response count limit hint]"}
- 微信html弹出点击右上角分享到朋友圈
- Apache禁用TRACE Method和添加X-frame-options响应头
- PHP将B转换为KB、MB、GB
- 构建微信公众号被动回复image图片消息xml
- mysqld_safe Number of processes running now
- CentOS使用chkconfig提示systemctl enable xxxx.service