[erlang-questions] how to call mysql in erlang(using erlang-mysql-driver)
Justin Calleja
calleja.justin@REDACTED
Mon Aug 20 23:22:31 CEST 2012
Hi,
I haven't really taken a look at it, but this project might be relevant:
http://sourceforge.net/projects/erlmysql/
cheers,
Justin
On 15 August 2012 00:36, kyletu <kyletu@REDACTED> wrote:
> **
> Hello,I want call mysql PROCEDURE in erlang. but I get a error
> message...
> Is there somebody know how to do it?
>
>
> PROCEDURE code:
>
>
> *CREATE PROCEDURE simpleproc_04()*******
>
> *BEGIN*
>
> select * from taokeeper_stat limit 10;
>
> *END*
>
> erlang call code:
>
> mysql:fetch(poolId,<<"call simpleproc_04">>).
>
>
>
> then I get the error message:
>
> mysql_conn:433: fetch <<"call simpleproc_04">> (id <0.44.0>)
> {error,{mysql_result,[],[],0,0,
> "PROCEDURE taokeeper.simpleproc_04 can't return a result set in the given context",
> 1312,"0A000"}}
>
>
>
>
>
> Thanks to read it...
>
>
>
> **
>
> ******
>
>
> ------------------------------
> kyletu
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120820/e927967a/attachment.htm>
More information about the erlang-questions
mailing list