0
私のサンプルsqliteデータベースのDBIx::Class
をWindows 7マシンにダンプするためにテストしました。 私はDBI
とDBD::SQLite
モジュールと一緒に、DBIx::Class::Schema::Loader
をインストールしましたが、私は、スクリプトdbicdump
それは以下のエラーエラーDBI_DRIVER envがdbicdumpの実行中にvarが設定されていない
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
を与えるを使用していたとき、私はそれをグーグルが、解決するための任意の適切なを見つけることができませんでしたみました問題。