ODBC

vvvrarescom.yahoo.com's picture

Hello everyone, This is my first post here, and before I continue, I want to congratulate you for these great platforms.

I was really happy when i first got on your page and found out that there is a quicker and easier way of implementing web services using PHP.

I successfully installed the wso2 php framework and also tried a few of the examples i found on this web page.

I recently tried the example found here ( http://wso2.org/library/articles/introduction-php-data-services )and it works for me.

I am currently trying to find out other ways to connect to a database.

Let's say i have an access (.mdb) or another type of database and i want to connect to it using odbc. What should I do to be able to do that ?

I downloaded the mysql odbc driver and successfully installed it. Should i edit this in any way :

$db_config = array( "db" => "mysql",  "username" => "tester", "password" => "*****", "dbname" => "dsexample", "dbhost" => "localhost"); ?

I tried reading articles and the documentation, but i didn't find anything related to odbc.

I would really like to know where to find something to help me understand how to do this.

If anyone knows anything about this, please help me. :)

 

Thank you.

nandika's picture

Re

WSF/PHP Data Services solution uses the PDO extension for supporting multiple data bases. Since PDO supports odbc you should be able to get it working. The solutions code can be found in the folder, scripts/wso2/DataServices. Regards Nandika
vvvrarescom.yahoo.com's picture

Thanks for the reply, thank

Thanks for the reply, thank you for directing me. I'll start reading then. ;)
library project main code
Learn Cloud
Learn
Cloud

The WSO2 Application Server is a reliable application server that can host your enterprise web applications. The WSO2 Application Server as a Service is offered in StratosLive, the WSO2 Platform as a Service. This article explains how a simple web application can be developed and deployed from Carbon Studio to the WSO2 Application Server...

Latest Webinar
Different groups within an organization need to monitor different Key Performance Indicators (KPIs) - An operations team will be interested in the response times of business services and loads of each service,..
Thursday, February 9th 2012, 09.00 AM (PST)

Thursday, February 9th 2012, 10.00 AM (GMT)