PHP and ODBC under Windows
| From: | Erste) | Date: | Tue, 15 Jan 2002 15:58:17 +0000 |
| Subject: | PHP and ODBC under Windows | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-5583@lists.php.net to get a copy of this message | ||
Dears,
As I'm already whole the day trying to connect to a MS SQL Server with the
odbc support from PHP I encountered big problems in doing so. After deleting
all registry keys of already existing odbc connections and reconfiguring the
server to accept also user/passwordlogins (before only trusted connections
were allowed and no server-authenification) the odbc code works. Is there a
possibility to use trusted connections also? I'm asking that, because
obviously the odbc_connect function tries to open the connection with
username/password even if the dsn is configured for trusted connections and
the server denies access for user "\" (which of course does not exist....)
My config:
PHP 4.4.1 (CGI module under Win2k)
Apache 1.3.19 under win2k
my SQL-Server is version 7.0 SP1
ODBC-Drivers are Version 2.6 from Microsofts homepage
Regards
Christoph Christ
email: cchrist@csas.cz