On 3/27/07, northfiled <[EMAIL PROTECTED]> wrote:
hello
helper model dbic cant generate table schema.

# script/myapp_create.pl model DBIC DBIC::Schema myapp::Schema create=static
dbi:mysql:myapp myapp hoge
 exists "/home/myapp/myapp/script/../lib/myapp/Model"
 exists "/home/myapp/myapp/script/../t"
No tables found in database, nothing to load at
/usr/lib/perl5/site_perl/5.8.8/DBIx/Class/Schema/Loader/Base.pm
line 452.
Dumping manual schema for myapp::Schema to directory
/home/myapp/myapp/script/../lib ...
 /home/myapp/myapp/script/../lib/myapp/Schema.pm exists,
will not overwrite
Schema dump completed.
 exists
"/home/myapp/myapp/script/../lib/myapp/Model/DBIC.pm"
why "No tables found in database, nothing to load "?
It is possible to use it from Catalyst with DBIC. There is actually a Mysql
table.
fedora core 5 & perl 5.8.8 & catalyst 5.7 & Mysql 5.0
What is thought?


Recent versions of DBD::mysql (4.002+) changed the behavior of the
method that the DBIx::Class::Schema::Loader uses to find the list of
tables to load, which causes this problem.  Upgrade
DBIx::Class::Schema::Loader to 0.03010 to get the fix.

-- Brandon

_______________________________________________
List: Catalyst@lists.rawmode.org
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.rawmode.org/
Dev site: http://dev.catalyst.perl.org/

Reply via email to