[erlang-questions] Installing mysql driver
Tue Apr 13 15:12:41 CEST 2010
I sorted of worked it out by creating a directory
compiled the erl files from svn into there.
start() -> hello.
ending() -> mysql:start_link(p1,"127.0.0.1", "erlang_db",
Result1 = mysql:fetch(p1,"SELECT id, forename FROM users"),
io:format("Result1: ~p~n", [Result1]).
mysql_conn:620: greeting version "5.1.37" (protocol 10) salt "QkG`.b$*"
caps 63487 serverchar <<8,2,0,0,
mysql_auth:187: mysql_auth send packet 1:
mysql_conn:426: fetch <<"use erlang">> (id <0.85.0>)
mysql_conn:426: fetch <<"SELECT id, forename FROM users">> (id
The code is dated 12 Sept 2005 and is written by your good self :-)
Just to say thanks for all the work you put into something like this so
I can have a play around!
On Behalf Of Fredrik Thulin
Sent: 13 April 2010 12:28
To: Johnston, Paul
Subject: Re: [erlang-questions] Installing mysql driver
On Tue, 2010-04-13 at 11:30 +0100, Paul Johnston wrote:
> 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
and the code is called from here
erlang-questions (at) erlang.org mailing list.
To unsubscribe; mailto:
More information about the erlang-questions