[erlang-questions] Connecting to MySQL: ODBC or Native driver?

Alexander Lamb alexander.lamb@REDACTED
Fri Sep 19 09:34:16 CEST 2008


Hello,

I need to connect to some existing MySQL databases. Version is 5.1.
OTP version is R12B-2
Platform is MacOSX for development and Linux for deployment.

 From what I see, there are 3 solutions:

1) ODBC

Pros: odbc module is supplied in the standard erlang distribution
Cons: probably slower and certainly one layer too much, especially on  
MacOSX and Linux

2) Native driver from ProcessOne

3) "Enhanced" native driver from ProcessOne in ErlyWeb

I tried (1) and (3) but didn't manage to connect. Before going  
further, I would like your opinion on which path to take.

Thanks a lot,
--
Alexander Lamb
Founding Associate
RODANOTECH Sàrl

4 ch. de la Tour de Champel
1206 Geneva
Switzerland

Tel:  022 347 77 37
Fax: 022 347 77 38

http://www.rodanotech.ch






More information about the erlang-questions mailing list