<div dir="ltr"><div>Why do I get the following error when I tried to connect the DB?</div><div><br></div><div><br></div><div>2> application:start(crypto).</div><div>ok</div><div>3> application:start(emysql).</div><div>
ok</div><div>4> emysql:add_pool(db_pool, 10, "client", "mypass", "localhost", 3306, "hello", utf8).</div><div>** exception exit: {failed_to_connect_to_database,econnrefused}</div>
<div>     in function  emysql_conn:open_connections/1 (src/emysql_conn.erl, line 136)</div><div>     in call from emysql:add_pool/9 (src/emysql.erl, line 226)</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Fri, Jun 28, 2013 at 3:45 AM, Jesper Louis Andersen <span dir="ltr"><<a href="mailto:jesper.louis.andersen@erlang-solutions.com" target="_blank">jesper.louis.andersen@erlang-solutions.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Mike,<div><br></div><div>There is an `as_json/1` in the works as a pull request. Feel free to provide the other convenience operations so we can add them to the util module. They could be rather nice to have since everyone needs something like that.</div>


</div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 27, 2013 at 9:08 PM, Mike Oxford <span dir="ltr"><<a href="mailto:moxford@gmail.com" target="_blank">moxford@gmail.com</a>></span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can't look right now, as I'm about to run into a meeting, but this is good news.<br>
<br>
Did you happen to add an "as_dict" and/or "as_proplist" output settings in util?<br>
<br>
-mox<br>
<div><br>
On Fri, Jun 21, 2013 at 2:38 AM, Jesper Louis Andersen<br>
<<a href="mailto:jesper.louis.andersen@erlang-solutions.com" target="_blank">jesper.louis.andersen@erlang-solutions.com</a>> wrote:<br>
> data properly. On the other hand, this means that th<br>
</div><div><div>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div></div></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>