perlquestion
madison.sacd
Dear Monks,<br>
<br>
I am a beginner of Catalyst.<br>
I am trying to create a data model with schema helper.<br><br>
The environment of my computer:<br><br>
Windows xp <br>
MySql database 5.0<br>
ActivePerl 5.8.8 <br>
Catalyst 5.69 <br><br>
I used the following command: <br><br>
<code>myapp_create.pl model MyModel DBIC::Schema MySchema create=static "dbi:mysql:test:localhost:3307" root 1234
</code> <br><br>
The schema helper can access MySql database successfully. However, another problem happened, no tables found. Actually, I have two tables in the database.
<br><br>
The message is like this:<br><br>
<code>
No tables found in database, nothing to load at C:/Perl/site/lib/DBIx/Class/Schema/Loader/Base.pm line 443.
Dumping manual schema for MyappDB to directory C:\Perl\site\bin\MyApp\lib ...
C:\Perl\site\bin\MyApp\lib/MyappDB.pm exists, will not overwrite
Schema dump completed.
</code>
I have tried to install MySQL version 4.1 but the situation was same. <br><br>
What should I do?<br>
Please give me some hints. Tkanks!!! <br>