odbc connection issues
Dear Friends,
I Have one Redhat6 pc,For running php application.I want one Information about odbc connection.Our organization have another windows server with MSSQL databases server.I try to connect that mssql database using php from redhat.But connection not getting...what is the reason,any connector issues.. I am just new one in Linux My connection code <?php class DB { function DB() { $this->server = "server name"; $this->db = "db name"; $this->user = "user"; $this->pass = "user123"; $this->link = odbc_connect($this->server, $this->user, $this->pass) or die("Error Connecting DB"); } } ?> |
Basic question: What happens if you ping "server name" from the host you are running the script from?
And second question: Don't you have to call the function in order to establish the connection? What output is there when you try to run the script? |
All times are GMT -5. The time now is 01:01 AM. |