[erlang-questions] Erlang, Cygwin and issue with crypto:start() library

Berlin Brown <>
Thu Aug 7 22:13:05 CEST 2008


I am trying to connect to mysql and I think I am getting issue because
the crypto library is not working properly.  Do you guys see anything
where I can check if this is working.

I am mostly working with Win32, WindowsXP under Cygwin.

I am looking in this directory and everything looks ok and in place.
The DLL is there?
C:\projects\tools\home\opt\erlang\erl5.6\lib\crypto-1.5.1.1

crypto_drv.dll

Erlang download as of 7/1/2008

3> erlydb:start(mysql, [{hostname, "localhost"}, {username, "USER"},
{password, "PASSWORD"}, {database, "db"}]).

=INFO REPORT==== 7-Aug-2008::16:08:34 ===
    application: crypto
    exited: {shutdown,{crypto_app,start,[normal,[]]}}
    type: temporary
mysql_conn:620: greeting version "5.0.51a-community" (protocol 10)
salt "q./>+Ya
]" caps 41516 serverchar <<8,2,0,0,

                           0,0,0,0,

                           0,0,0,0,

                           0,0,0,0>>salt2 "PLkVM_t"

=ERROR REPORT==== 7-Aug-2008::16:08:34 ===
Error in process <0.81.0> with exit value: {badarg,[{ets,lookup,
[crypto_server_t
able,port]},{crypto,control,2},{mysql_auth,password_new,2},
{mysql_auth,do_new_au
th,8},{mysql_conn,mysql_init,5},{mysql_conn,init,9}]}

mysql:502: failed starting first MySQL connection handler, exiting
ok



More information about the erlang-questions mailing list