Home > Archive > PHP SQL > March 2005 > which library to use for connecting to mysql and ODBC?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
which library to use for connecting to mysql and ODBC?
|
|
| _andrea.l 2005-03-29, 3:57 am |
| I'm writing a php program and I need to connect Now to ODBC (MS access).
When I have finish I'd like to use Mysql (and no MS access).
which library can I use to connect to mysql and to ODBC by changing less
code as possible?
where can I find it?
Thank You in advance,
Andrea.
| |
|
| _andrea.l wrote:
>
> I'm writing a php program and I need to connect Now to ODBC
> (MS access). When I have finish I'd like to use Mysql (and
> no MS access).
I would suggest installing MySQL on your development machine.
It's free, and it will save you lots and lots of headache when
migrating to the production server.
> which library can I use to connect to mysql and to ODBC by
> changing less code as possible?
The code is not the only problem here. When developing on
ODBC, you may inadverently use a query not supported by MySQL,
and you won't know it until you deploy in the production
environment. This may turn out to be a bug hunt of epic
proportions...
> where can I find it?
All necessary libraries come with PHP. MySQL support usually
works out of the box on both Windows and Unix. ODBC support
is enabled out of the box on Windows as well.
Cheers,
NC
|
|
|
|
|