DBIx::Class
对于我在windows 7机器上的示例sqlite数据库。
我已安装
DBIx::Class::Schema::Loader
DBI
和
DBD::SQLite
模块,但当我使用脚本时
dbicdump
C:\Users\Foo\Documents\dbDump>perl dbicdump.pl dump_directory=.\lib ^
More? -o components="[q{InflateColumn::DateTime}]" ^
More? -o preserve_case=1 ^
More? MyApp::Schema DBI::SQLite:./sqlite.db
DBIx::Class::Storage::DBI::catch {...} (): DBI Connection failed: Can't connect
to data source 'MyApp::Schema' because I can't work out what driver to use (it
doesn't seem to contain a 'dbi:driver:' prefix and the DBI_DRIVER env var is not
set) at C:/Perl64/site/lib/DBIx/Class/Storage/DBI.pm line 1517. at dbicdump.pl
line 178
我试着在谷歌上搜索,但找不到任何合适的方法来解决这个问题。