Search found 2 matches
- Tue Feb 17, 2009 10:25 pm
- Forum: PHP - Code
- Topic: connecting to MS SQL from ubuntu PHP
- Replies: 4
- Views: 202
Re: connecting to MS SQL from ubuntu PHP
here is the code that i use #!/usr/bin/python import _mssql //the error comes in the next line mssql=_mssql.connect('jagserver','sa','mypassword') mssql.select_db('dbnamehere') query="select [maintenance name],[maintenance code] from [maintenance routines];" if mssql.query(query): rows=mss...
- Tue Feb 17, 2009 7:12 am
- Forum: PHP - Code
- Topic: connecting to MS SQL from ubuntu PHP
- Replies: 4
- Views: 202
connecting to MS SQL from ubuntu PHP
Hi all, being a windows developer for so long, i have moved to PHP in linux environment. Have installed the necessary development environment for PHP....now iam trying to connect to my windows - MS SQL server 2005, i am getting an error Cannot connect to server <servernme>, the username and password...