<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 11/19/2014 06:40 AM, Jesper Louis
Andersen wrote:<br>
</div>
<blockquote
cite="mid:CAGrdgiWVxQYGa1RWqrRw=R29te+pJfR82bn31Vg6VxPsC5YnfA@mail.gmail.com"
type="cite">
<div dir="ltr">Hi Everyone,
<div><br>
</div>
<div>You may know that I was maintaining the Emysql code base
for Erlang for a while. It is a driver for MySQL which seem to
be quite popular. However, as of late, I have not really been
maintaining it anymore, and I see no reason to continuing
doing so:</div>
<div><br>
</div>
<div>* I have no passion for MySQL. It is the worst database in
existence ever and I utterly hate working with it.</div>
<div>* Its client/server protocol is utterly useless in every
way. How to parse the response to a command depends on which
command you send which requires you to textually parse the
command.</div>
<div>* Like many other drivers, it conflates the communication
protocol with the pooling facility.</div>
<div>* The low-level protocol handling is wrong, which leads to
a wrong timeout structure in all of the code base.</div>
<div><br>
</div>
<div>... and many more things I dislike. However, since so many
are stuck with MySQL, there is a genuine need to maintain a
driver, however weak it happens to be.</div>
<div><br>
</div>
<div>Currently, the project is slipping through my fingers.
There are several pull requests which has not been addressed
but ought to be. If I were involved with the driver at work, I
would be able to set aside some time for the maintenance, but
frankly, it is not something I am willing to do unless I get
paid for it. The code base simply burns me out.</div>
<div><br>
</div>
<div>So I am throwing the towel into the ring. Don't look at
this as a bad thing! What I am doing is to make it official
that I have no intention to maintain the driver and someone
else has to do it. This is a much better outcome in the long
run than me pretending to maintain something which I really
don't. I better do this than keep people in limbo as to where
the code base is headed.</div>
<div><br>
</div>
<div>I hope someone picks up the reins. There are several pull
requests which all have to be merged. There is a nice test
suite, and with little work, Travis CI support is salvageable.
And I am here to answer any questions someone might have.</div>
<div><br>
</div>
<div>In general, however, database drivers are in a very sad
state in Erlang-land. But fixing that requires someone who
will write a generic driver infrastructure and not doing so in
anger because there is another project which needs to be
addressed. Loic Hoguin's "bank" project is promising, but I
don't know where it stands.</div>
<div><br>
</div>
<div>And now, to address other projects for which I still do
have the passion :)</div>
<div><br>
</div>
<div>Code is here:</div>
<div><br>
</div>
<div><a moz-do-not-send="true"
href="http://github.com/Eonblast/emysql">github.com/Eonblast/emysql</a><br
clear="all">
<div><br>
</div>
-- <br>
<div class="gmail_signature">J.</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<tt>CloudI (<a class="moz-txt-link-freetext" href="http://cloudi.org">http://cloudi.org</a>) has emysql integration along with
three postgres drivers and a common interface (in addition to
various other database driver integration).<br>
<br>
- Michael<br>
</tt>
</body>
</html>