Hi,

I'm trying to give ErlyWeb a spin, and am getting stuck where the db
access code is generated/compiled:

>erlyweb:compile("/Users/atobe/spikes/ErlyTest/music/", [{erlydb_driver, 
>mysql}]).

debug:erlyweb_compile:369: Compiling Erlang file
"music_app_controller"
debug:erlyweb_compile:369: Compiling Erlang file "musician_view"
debug:erlyweb_compile:369: Compiling Erlang file "musician_controller"
debug:erlyweb_compile:369: Compiling Erlang file "musician"
debug:erlyweb_compile:364: Compiling ErlTL file "html_container_view"
debug:erlyweb_compile:369: Compiling Erlang file
"html_container_controller"
debug:erlyweb_compile:104: Generating ErlyDB code for models:
"musician.erl "
mysql_conn:418: fetch <<"show tables">> (id <0.61.0>)
** exited: {error,{no_such_table,musician}} **

I've got yaws-1.72 (from source), erlang @R11B-4_3 (from darwinports),
mysql5  Ver 14.12 Distrib 5.0.37 (again darwinports).

There's no other error output, db connection seems fine. I've manually
created tables in the db and they get picked up just after <<"show
tables">> further suggesting the db connection is ok.

Any ideas?

Kind regards,
Toby


--~--~---------~--~----~------------~-------~--~----~
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