
t.northfield at gmail
Apr 1, 2007, 3:11 AM
Post #3 of 3
(2081 views)
Permalink
|
|
Re: Catalyst::Helper::Model::DBIC::Schema. No tables found in database.
[In reply to]
|
|
hi Brandon. It seems to be able to make Schema by correctly reading the table. Thank you!!!. 2007/4/1, Brandon Black <blblack [at] gmail>: > On 3/27/07, northfiled <t.northfield [at] gmail> 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 [at] lists > Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst > Searchable archive: > http://www.mail-archive.com/catalyst [at] lists/ > Dev site: http://dev.catalyst.perl.org/ >
|