美文网首页
py connect ms sql under linux(ce

py connect ms sql under linux(ce

作者: angoal | 来源:发表于2018-01-31 14:57 被阅读8次

first: which version py is choose! prefer to python3

second: install plugin-pymssql


usage:

on my CentOS 7 system:

# rpm -q centos-release

centos-release-7-1.1503.el7.centos.2.8.x86_64

After installing the EPEL repositories:

# yum -y install epel-release

And then installing the requirements:

# yum -y install gcc python-pip python-devel freetds-devel

yum install freetds-devel,   in order to,file(sqlfront.h)  is exist in /usr/include directory.

 pip install pymssql


In  my testing progress, i discovery a thing that I forgetted how remove soft link in centos7.  Through I learning it by NET, it method is : rm -rf  in soft link directory.


pymssql official documents


相关文章

网友评论

      本文标题:py connect ms sql under linux(ce

      本文链接:https://www.haomeiwen.com/subject/oaakzxtx.html