It looks like the MySQL driver doesn't support password-less
authentication. I'll see if I can fix it.

Yariv

On 10/15/07, emil <[EMAIL PROTECTED]> wrote:
>
> I have same problem,
> and here is output from erlang console in windows:
>
> 7> erlydb:start(mysql, [{hostname, "localhost"}, {username, "root"},
> {password,
> ""}, {database, "music"}]).
> ** exited: {undef,[{mysql,start,
>                           [erlydb_mysql,
>                            "localhost",
>                            undefined,
>                            "root",
>                            [],
>                            "music"]},
>                    {erl_eval,do_apply,5},
>                    {shell,exprs,6},
>                    {shell,eval_loop,3}]} **
> 8>
> =ERROR REPORT==== 16-Oct-2007::01:54:20 ===
> Error in process <0.103.0> with exit value: {undef,[{mysql,start,
> [erlydb_mysql,"
> localhost",undefined,"root",[],"music"]},{erl_eval,do_apply,5},
> {shell,exprs,6},{
> shell,eval_loop,3}]}
>
> I have changed password ie put some password with same results.
> erlyweb is version 0.6.2, mysql is version 5.0.27,
> and of course, the beatles are in database :)
>
> something is wrong also with compiling:
>
>
> 6> erlyweb:compile("d:/yawsApp/music", [{erlydb_driver, mysql}]).
> debug:erlyweb_compile:340: Compiling Erlang file
> "music_app_controller"
> debug:erlyweb_compile:340: Compiling Erlang file "musician_view"
> debug:erlyweb_compile:340: Compiling Erlang file "musician_controller"
> debug:erlyweb_compile:340: Compiling Erlang file "musician"
> debug:erlyweb_compile:340: Compiling Erlang file
> "html_container_controller"
> debug:erlyweb_compile:335: Compiling ErlTL file "html_container_view"
> debug:erlyweb_compile:104: Generating ErlyDB code for models:
> "musician.erl "
> ** exited: {function_clause,[{mysql,fetch,[erlydb_mysql,<<"show
> tables">>]},
>                              {erlydb_mysql,get_metadata,1},
>                              {erlydb,code_gen,4},
>                              {erlyweb_compile,compile,2},
>                              {erl_eval,do_apply,5},
>                              {shell,exprs,6},
>                              {shell,eval_loop,3}]} **
> 7>
> =ERROR REPORT==== 16-Oct-2007::01:47:40 ===
> Error in process <0.81.0> with exit value: {function_clause,
> [{mysql,fetch,[erlyd
> b_mysql,<<11 bytes>>]},{erlydb_mysql,get_metadata,1},{erlydb,code_gen,
> 4},{erlywe
> b_compile,compile,2},{erl_eval,do_apply,5},{shell,exprs,6},
> {shell,eval_loop,3}]}
>
> - I'm supposing that is same problem - erlyweb can't get connection
> with mysql
>
> emil
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"erlyweb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/erlyweb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to