0

从 gem 中删除 heroku db:pull 后,我正在尝试使用水龙头。

 taps server mysql2://root@localhost/trappor2 taps taps123

C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/adapters/sqlite.rb:
62:in `initialize': SQLite3::CantOpenException: unable to open database file (Se
quel::DatabaseConnectionError)
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/adapte
rs/sqlite.rb:62:in `new'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/adapte
rs/sqlite.rb:62:in `connect'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/databa
se/misc.rb:45:in `block in initialize'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/connec
tion_pool.rb:92:in `call'
        from C:/Ruby193/lib/ruby/gems/1.9.1/gems/sequel-3.20.0/lib/sequel/connec
tion_pool.rb:92:in `make_new'

是什么导致了这个错误?

4

1 回答 1

0

我最近在水龙头上也遇到了一些困难。如果可以,请尝试切换到 PG 备份——这非常简单:

https://devcenter.heroku.com/articles/heroku-postgres-import-export

于 2013-10-08T21:41:31.743 回答