note 104021 added to function.mssql-connect

From: Date: Wed, 18 May 2011 00:08:40 +0000
Subject: note 104021 added to function.mssql-connect
Groups: php.notes 
Request: Send a blank email to php-notes+get-179837@lists.php.net to get a copy of this message
Hi, Actually, I have a SQL Server Express 2005. And It's working with some aplication remotly. Now I install a web server with OS Centos (linux). But I can't connect to DB. "Couldn't connect to SQL Server on 192.168.3.5\SQLEXPRESS" I used PHP.... $myServer = "192.168.3.5\SQLEXPRESS"; $myUser = "user"; $myPass = "pwd"; $myDB = "db"; //connection to the database $dbhandle = mssql_connect($myServer, $myUser, $myPass) or die("Couldn't connect to SQL Server on $myServer"); Somebody know how can I fix it? ---- Server IP: 69.147.83.197 Probable Submitter: 200.78.237.195 ---- Manual Page -- http://www.php.net/manual/en/function.mssql-connect.php Edit -- https://master.php.net/note/edit/104021 Del: integrated -- https://master.php.net/note/delete/104021/integrated Del: useless -- https://master.php.net/note/delete/104021/useless Del: bad code -- https://master.php.net/note/delete/104021/bad+code Del: spam -- https://master.php.net/note/delete/104021/spam Del: non-english -- https://master.php.net/note/delete/104021/non-english Del: in docs -- https://master.php.net/note/delete/104021/in+docs Del: other reasons-- https://master.php.net/note/delete/104021 Reject -- https://master.php.net/note/reject/104021 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#179837) next »