0
Windows 7 머신에 샘플 sqlite 데이터베이스의 DBIx::Class
을 덤프하려고 테스트했습니다. 내가 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
을주는 사용하고 때 나는 그것을 인터넷 검색을하지만를 해결하기위한 적절한를 찾을 수 없습니다 시도 발행물.