在从gem中删除heroku db:pull之后,我正在尝试使用tap。
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'
导致此错误的原因是什么?
答案 0 :(得分:0)
我最近也遇到了一些难点。如果可以,请尝试切换到PG备份 - 这非常简单:
https://devcenter.heroku.com/articles/heroku-postgres-import-export