Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 2.5.0b2

Request #8413 ODBC driver
Submitted: 2006-08-10 14:48 UTC Modified: 2007-12-09 15:57 UTC
From: ariel dot kempf at gmail dot com Assigned:
Status: Open Package: MDB2 (version 2.2.0)
PHP Version: 5.1.4 OS:
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ariel dot kempf at gmail dot com
New email:
PHP Version: Package Version: OS:

 

 [2006-08-10 14:48 UTC] ariel dot kempf at gmail dot com (Ariel)
Description: ------------ I find very usefull to have an ODBC driver, like the one in the DB package. Is it planned to have an ODBC driver like we have in DB?

Comments

 [2006-08-10 16:09 UTC] lsmith (Lukas Smith)
I personally have no need for such a driver. I would of course welcome someone else who steps up to deliver such a driver. It should not be all that hard by using the PEAR::DB and Metabase driver as a basis.
 [2006-08-18 02:09 UTC] kellerkind018 at web dot de (Thomas)
An ODBC driver would be very helpful for me too. The only reason because I am not switching from DB to MDB2 at the moment, is the missing ODBC support in MDB2. Hopefully there will be one soon.
 [2007-11-12 08:00 UTC] castel (Jay Castel)
I could also need an ODBC driver, or even an OLE driver as there don't exist a Pervasive driver.
 [2007-12-09 15:53 UTC] mrsocks (Max Arbos)
Is anyone working on this at all? I NEED one now. Any suggestions?
 [2007-12-09 15:57 UTC] davidc (David Coallier)
Not that I know of. How much do you need it ?
 [2009-11-05 22:08 UTC] bryanboova (Bryan Boova)
Lukas is right. I just installed PEAR: DB, then wrote: <?php // include required files require_once 'XML/Query2XML.php'; require_once 'DB.php'; try { $db = DB::connect('odbc://user:password@server/table'); $query2xml = XML_Query2XML::factory($db); $sql="SELECT * FROM DATABASE "; $xml = $query2xml->getFlatXML($sql); header('Content-Type: text/xml'); $xml->formatOutput = true; echo $xml->saveXML(); } catch (Exception $e) { echo $e->getMessage(); } ?>