mysql2postgres
mysql2postgres copied to clipboard
Mysqldump, writing in postgresql format
I'm on ruby 2.3.1 and this is the build log: ``` gem install mysqltopostgres-0.3.0.gem Fetching: test-unit-2.5.5.gem (100%) Successfully installed test-unit-2.5.5 Fetching: postgres-pr-0.7.0.gem (100%) Successfully installed postgres-pr-0.7.0 Fetching: mysql-pr-2.9.11.gem (100%) Successfully...
Compile and setup this tool on Redhat 6.5. use the yml file in the 'config' folder. **default.database.yml** edit and change it to mysql2postgres.yml after implement command 'mysqltopostgres mysql2postgres.yml' i got...
suspect that something is lost in translation with regard to primary keys/sequences during the migration. I've been battling with a strange bug on rails 3.1 where running db:schema:dump was dumping...
Env: ```batch Microsoft Windows [version 10.0.14393] > ruby --version ruby 2.3.3p222 (2016-11-21 revision 56859) [x64-mingw32] > gem --version 2.6.11 > bundle --version Bundler version 1.14.6 ``` I tried to execute...
I've got an error: ``` /usr/local/rvm/gems/ruby-1.9.3-p551/gems/mysqltopostgres-0.2.20/bin/mysqltopostgres mysql2pg.yml Mysql2psql: Conversion failed: packet is not EOF packet is not EOF /usr/local/rvm/gems/ruby-2.2.0/gems/mysql-pr-2.9.11/lib/mysql-pr/protocol.rb:562:in `read_eof_packet' /usr/local/rvm/gems/ruby-2.2.0/gems/mysql-pr-2.9.11/lib/mysql-pr/protocol.rb:274:in `retr_fields' /usr/local/rvm/gems/ruby-2.2.0/gems/mysql-pr-2.9.11/lib/mysql-pr.rb:322:in `query' ``` the very short dump is...
I am trying to deploy my php app that uses mysql db to heroku. I followed instructions here - [](`https://devcenter.heroku.com/articles/heroku-mysql`) The sudo gem install mysqltopostgres-0.3.0.gem command executed without errors: >...
I'm using ruby 1.9.3-p551 with RVM on an OSX Yosemite installation. Keep running into this error: ``` WARN: Unresolved specs during Gem::Specification.reset: postgres-pr (~> 0.6) activerecord (~> 3.2) WARN: Clearing...
Hello, Please, help me to resolve this issue. home/mysql2postgres$ mysqltopostgres /usr/lib/ruby/1.9.1/rubygems/dependency.rb:247:in `to_specs': Could not find mysqltopostgres (>= 0) amongst [addressable-2.4.0, builder-3.2.2, bundler-1.11.2, bundler-unload-1.0.2, descendants_tracker-0.0.4, executable-hooks-1.3.2, faraday-0.9.2, gem-wrappers-1.2.7, git-1.2.9.1, github_api-0.13.1, hashie-3.4.3,...
`Table.has_id` is used to determine whether or not to use `MAX(id)` vs `COUNT(*)` in `count_for_pager`, but this only works if the `id` field is an integer. In my schema i...
Any idea why this is happening? $ mysqltopostgres taps/config.yml ``` c:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require': cannot load such file -- pg_ext (LoadError) from c:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:126:in `require' from c:/Ruby200/lib/ruby/gems/2.0.0/gems/mysqltopostgres-0.2.15/lib/mysqltopostgres.rb:7:in `' from c:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in `require' from c:/Ruby200/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:73:in...