DreamHost Web Hosting
Discussion Forum


Forums
   >> 3rd Party Software & Scripts
*Threaded Mode

Subject MSSQL on Python  
Posted byIceDog (DH New User )
Posted on05/27/08 01:03 AM



Hello,
I need a MSSQL module for Python. I know of several projects, like pymssql, which can be implemented, but my attempts on dreamhost servers have been futile. I'm unable to build/install the module because it requires FreeTDS, which dreamhost doesn't have.

Anyone here been able to get on MSSQL with python?
Any ideas?



Subject Re: MSSQL on Python new [re: IceDog]  
Posted bypatricktan (DH DreamNinja)
Posted on05/27/08 06:24 PM



But DH does not support MSSQL :(

$50 off and 3 free domains with code: DH3 Sign Up NOW or More Codes Here


Subject Re: MSSQL on Python new [re: patricktan]  
Posted bysdayman (DH DreamMaster!)
Posted on05/27/08 07:06 PM



I did a quick search on FreeTDS and see that it's a library that lets some systems talk to a MSSQL or Sybase server, or even convert the data, according to FreeTDS.org.

Since the OP only said they needed the library for Python, I'd hoped they looked at the other requirements and already discovered that MSSQL isn't available here, and maybe knew something we didn't...like they don't need MSSQL, or already have it somewhere else.

-Scott


Subject Re: MSSQL on Python new [re: sdayman]  
Posted byIceDog (DH New User )
Posted on05/28/08 02:24 AM



Thank you for stating the obvious, patrickdan.

sdayman, I don't think you need a MSSQL client on the linux box. FreeTDS should be all that's needed to access the SQL server. See the documentation at the Pymssql website.

http://pymssql.sourceforge.net/

Anyhelp peeps? My windows host LunarPages is very unreliable at running my script. It's quite irritating.




*Threaded Mode
Jump to