getting this error for a while now.
[root@me rubyrep-1.2.0]# rubyrep scan -c redmine.conf
DEPRECATION
WARNING: In the next release, this will return the same as
#connection_pool_list. (An array of pools, rather than a hash mapping
specs to pools.). (called from connection_pools at
/usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:500)
/usr/local/rvm/gems/ruby-2.1.2/gems/rubyrep-1.2.0/lib/rubyrep/table_spec_resolver.rb:91: warning: encoding option is ignored - U
DEPRECATION
WARNING: In the next release, this will return the same as
#connection_pool_list. (An array of pools, rather than a hash mapping
specs to pools.). (called from connection_pools at
/usr/local/rvm/gems/ruby-2.1.2/gems/activerecord-4.1.8/lib/active_record/connection_adapters/abstract/connection_pool.rb:500)
Exception caught: Mysql::Error: query: not connected: SHOW TABLES
I have tried switching the databases from right to left and the other way but still getting the same error. Is there a solution to this problem? Kindly help.
redmine.conf
RR::Initializer::run do |config|
config.left = {
:adapter => 'mysql', # or 'mysql'
:database => 'xxxxx',
:username => 'xxxxx',
:password => 'kenic1461',
:host => 'xx.xx.xx.2'
}
config.right = {
:adapter => 'mysql',
:database => 'xxxxx',
:username => 'xxxxxx',
:password => 'xxxxx',
:host => 'xx.xx.xx.2'
}
#config.include_tables 'dept'
#config.include_tables /^e/ # regexp matching all tables starting with e
config.include_tables /./ # regexp matching all tables in the database
config.options[:auto_key_limit] = 2
end