ricardochimal / taps

simple database import/export app
MIT License
1.2k stars 140 forks source link

Unable to fetch tables information from ... #128

Open adasfan opened 11 years ago

adasfan commented 11 years ago

I am trying to pull a db from MySQL into Postgres. "blogs" is the name of the one the tables in the db.

I see the error "Unable to fetch tables information from http://mcetin:secret@localhost:5000. Please check the server log" error message from the taps pull side.

Here is the call stack from the taps server side: localhost - - [24/Feb/2013:23:00:47 EST] "GET /sessions/8471611000/pull/table_names HTTP/1.1" 500 518

Paxa commented 9 years ago

@joshco, this will make rubygems load rack version 1.0.1, otherwise it will load latest version of gem installed on machine

joshco commented 9 years ago

This still doesn't make sense. bin/taps is a ruby script. You can't put a gem statement inside a ruby script. Do you mean to say put that in your Gemfile?

Paxa commented 9 years ago

@joshco gem as a function, not a statement. you can try open irb and type gem

joshco commented 9 years ago

ah. my bad. Though I still haven't figured this out, for the postgres password errors i made some progress by adjusting my postgres pg_hba.conf. It seems that loosening the ACLs is important.

Paxa commented 9 years ago

May be there is a better tool, did you see http://pgloader.io/ ?

joshco commented 9 years ago

Ah. thanks for the tip. I will try it

On Fri, Feb 20, 2015 at 12:58 PM, Pavel notifications@github.com wrote:

May be there is a better tool, did you see http://pgloader.io/ ?

Reply to this email directly or view it on GitHub https://github.com/ricardochimal/taps/issues/128#issuecomment-75287753.

_Josh Co_hen joshco@gmail.com | @joshco | LinkedIn http://linkedin.com/in/joshrcohen/ | GitHub https://github.com/joshco | OSDI opensupporter.org http://opensupporter.org/ "If [OSDI http://opensupporter.org/] succeeds, it could usher in the next chapter in political technology." - Washington Post http://wapo.st/1hYXX7O

In the LGBT community, Domestic Abuse is the friendly-fire equivalent of bullying, sexual assault, discrimination, Religion based bigotry and other types of subjugation.

Let's stop it. Please help https://www.crowdrise.com/avpchamps-friends/fundraiser/joshcohen2