sunilvadranapu Posted July 30, 2008 Share Posted July 30, 2008 Hi, I am trying to connect to Teradata using ODBC from PHP. My code is function ConnectDB($dsn, $username, $password, $options="") { if (!($this->connection_id = @odbc_connect($dsn,$username,$password)) ){ $this->report_error("\nConnection Failed.....\n"); exit; } else { return $this->connection_id; } }//end of connectDB it is working well and Now suddenly it is giving the error ODBC error: 523 80 ODBC error code: 81 But the same application working from the terminal and failing when running from browser. i set all the ODBC env variables in PHP code itself. Could you tell me what might be the problem. Thanks in advance. -Sunil Link to comment https://forums.phpfreaks.com/topic/117336-getting-odbc-error-while-connecting-to-teradata-from-php/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.