Skip to content

Instantly share code, notes, and snippets.

@cap10morgan
Created September 8, 2014 17:57
Show Gist options
  • Save cap10morgan/d7a1bd28e4e7c9fbe9c9 to your computer and use it in GitHub Desktop.
Save cap10morgan/d7a1bd28e4e7c9fbe9c9 to your computer and use it in GitHub Desktop.
jdbc-activerecord-adapter error output
$ bundle exec rake db:setup
Rake tasks not supported by '' adapter
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:172:in `class_for_adapter'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:73:in `create'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:87:in `create_current'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-jdbc-adapter-1.3.10/lib/arjdbc/tasks/databases4.rake:12:in `each_current_configuration'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-jdbc-adapter-1.3.10/lib/arjdbc/tasks/databases4.rake:11:in `each_current_configuration'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:86:in `create_current'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/railties/databases.rake:20:in `(root)'
org/jruby/RubyProc.java:271:in `call'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:240:in `execute'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:179:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:201:in `invoke_prerequisites'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:178:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:201:in `invoke_prerequisites'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:178:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:106:in `top_level'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:106:in `top_level'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:78:in `run'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/bin/rake:33:in `(root)'
org/jruby/RubyKernel.java:1081:in `load'
/opt/jruby-1.7.14/bin/rake:23:in `(root)'
Couldn't create database for {"adapter"=>"", "driver"=>"com.mysql.jdbc.Driver", "encoding"=>"utf8", "collation"=>"utf8_unicode_ci", "reconnect"=>true, "autocommit"=>false, "pool"=>100, "database"=>"turbovote_development", "username"=>"root", "password"=>nil, "url"=>"jdbc:mysql://172.17.0.175:3306/turbovote_development"}
Rake tasks not supported by '' adapter
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:172:in `class_for_adapter'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:73:in `create'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:87:in `create_current'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-jdbc-adapter-1.3.10/lib/arjdbc/tasks/databases4.rake:12:in `each_current_configuration'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-jdbc-adapter-1.3.10/lib/arjdbc/tasks/databases4.rake:11:in `each_current_configuration'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/tasks/database_tasks.rb:86:in `create_current'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/activerecord-4.0.5/lib/active_record/railties/databases.rake:20:in `(root)'
org/jruby/RubyProc.java:271:in `call'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:240:in `execute'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:179:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:201:in `invoke_prerequisites'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:178:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:201:in `invoke_prerequisites'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:178:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/1.9/monitor.rb:211:in `mon_synchronize'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:106:in `top_level'
org/jruby/RubyArray.java:1613:in `each'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:106:in `top_level'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:78:in `run'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/opt/jruby-1.7.14/lib/ruby/gems/shared/gems/rake-10.3.2/bin/rake:33:in `(root)'
org/jruby/RubyKernel.java:1081:in `load'
/opt/jruby-1.7.14/bin/rake:23:in `(root)'
Couldn't create database for {"adapter"=>"", "driver"=>"com.mysql.jdbc.Driver", "encoding"=>"utf8", "collation"=>"utf8_unicode_ci", "reconnect"=>false, "autocommit"=>false, "pool"=>100, "database"=>"turbovote_test", "username"=>"root", "password"=>nil, "url"=>"jdbc:mysql://172.17.0.175:3306/turbovote_test"}
-- create_table("absentee_answers", {:force=>true})
rake aborted!
ActiveRecord::JDBCError: The driver encountered an unknown error: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown database 'turbovote_development'
/turbovote/db/schema.rb:16:in `(root)'
/turbovote/db/schema.rb:14:in `(root)'
Tasks: TOP => db:schema:load
(See full trace by running task with --trace)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment