Skip to content

Unable to locate PostgreSQL destination environment in the configuration file (RuntimeError) #99

@clobob

Description

@clobob

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 an error log:

/usr/local/ruby/lib/ruby/gems/2.2.0/gems/mysqltopostgres-0.3.1/lib/mysql2psql/connection.rb:20:in initialize': Unable to locate PostgreSQL destination environment in the configuration file (RuntimeError) from /usr/local/ruby/lib/ruby/gems/2.2.0/gems/mysqltopostgres-0.3.1/lib/mysql2psql/postgres_db_writer.rb:12:in new'
from /usr/local/ruby/lib/ruby/gems/2.2.0/gems/mysqltopostgres-0.3.1/lib/mysql2psql/postgres_db_writer.rb:12:in initialize' from /usr/local/ruby/lib/ruby/gems/2.2.0/gems/mysqltopostgres-0.3.1/lib/mysqltopostgres.rb:49:in new'
from /usr/local/ruby/lib/ruby/gems/2.2.0/gems/mysqltopostgres-0.3.1/lib/mysqltopostgres.rb:49:in convert' from /usr/local/ruby/lib/ruby/gems/2.2.0/gems/mysqltopostgres-0.3.1/bin/mysqltopostgres:23:in <top (required)>'
from /usr/bin/mysqltopostgres:19:in load' from /usr/bin/mysqltopostgres:19:in

'

how can this program work normally? Help~~

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions