[Catalyst] MojoMojo-0.999005 and mysql
Josef Chladek
josef.chladek at gmail.com
Sun Sep 23 18:03:14 GMT 2007
Am 23.09.2007 um 13:17 schrieb Marcus Ramberg:
> Applied a fix for mysql now, and released MojoMojo-0.999006.tar.gz
> to CPAN. Please test it and give me feedback. (Note,still dont have a
> working solution for Pg)
>
> Marcus
hello marcus,
sorry, but does not work on this end...
josef
mysql> create database mojomojo;
Query OK, 1 row affected (0.00 sec)
mysql> quit
Bye
home:/Users/josef/.cpan/build/MojoMojo-0.999006 root# /usr/bin/
perl5.8.6 script/mojomojo_spawn_db.pl
Deploying schema to dbi:mysql:database=mojomojo;host=localhost
Creating initial data
DBIx::Class::Schema::populate(): DBI Exception: DBD::mysql::st
execute_array failed: Cannot add or update a child row: a foreign key
constraint fails (`mojomojo`.`page_version`, CONSTRAINT
`page_version_fk_page` FOREIGN KEY (`page`) REFERENCES `page` (`id`))
[err was 1452 now 1]
executing 3 generated 3 errors [for Statement "INSERT INTO
page_version (comments, content_version_first, content_version_last,
created, creator, depth, name, name_orig, page, parent,
parent_version, release_date, remove_date, status, version) VALUES
(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"] at script/
mojomojo_spawn_db.pl line 51
home:/Users/josef/.cpan/build/MojoMojo-0.999006 root#
More information about the Catalyst
mailing list