[erlang-questions] Installing mysql driver

Fredrik Thulin ft@REDACTED
Tue Apr 13 13:28:09 CEST 2010


On Tue, 2010-04-13 at 11:30 +0100, Paul Johnston wrote:
> Hi
> 
> Can anyone give any hints on installing the mysql drivers for erlang.
> 
> I've got the files from svn checkout
> http://erlang-mysql-driver.googlecode.com/svn/trunk but there are no
> installation instructions (I'm using OpenSolaris).
> 
> TIA Paul

It isn't really a driver, it is more of a client that you can use from a
program you write. Thus you can't install it separately somewhere and
expect different programs to find it.

Look at YXA for example (where that code comes from originally). YXA has
the mysql directory as /src/mysql here

  http://github.com/fredrikt/yxa/tree/master/src/mysql/

and the code is called from here

http://github.com/fredrikt/yxa/blob/master/src/sipuserdb/sipuserdb_mysql.erl

/Fredrik




More information about the erlang-questions mailing list