Re: Re: ODBC?

From: Date: Fri, 27 Sep 2002 15:59:42 +0000
Subject: Re: Re: ODBC?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-22052@lists.php.net to get a copy of this message
And if you are using ODBC from *nix, you will want to configure it --with-iodbc as per the HOWTO at www.iodbc.org. Best regards, Andrew Hill Director of Technology Evangelism OpenLink Software - http://www.openlinksw.com On Tuesday, September 24, 2002, at 10:34 AM, Ever Lopez wrote:
First make sure you have installed the MyODBC Driver Then make a odbc DSN to the MySQL database. Finally try something like this: odbc_connect($DSN_Name,$UserName, $Password) or die("Could not connect to the datasource"); Hope this helps... "Chris Payne" <chris@planetoxygene.com> escribiÛ en el mensaje news:000801c263d1$2cf7fec0$f7fea8c0@chris... Hi there everyone, I have always used MySQL with PHP without any problems using the standard MySQL connection functionality. Is it possible to connect to a MySQL DB via ODBC? If so, what would the PHP Connection string be? I am curious as my email server allows you to use external databases for users accounts and I figure this way I could write a PHP script to control users email accounts. Thanks everyone, sorry if this sounds like a stupid question, not used ODBC before so even though I know quite abit about PHP/MySQL, I know diddly about ODBC :-) Chris Payne -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.db (#22052) next »