Created
June 14, 2010 20:16
-
-
Save mikewadhera/438238 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ jruby script/console | |
Loading development environment (Rails 2.2.2) | |
>> ActiveRecord::Base.connection | |
*** inside no_conn_pool.rb's #checkout override... | |
*** jdbcmysql adapter configured with driver: com.mysql.jdbc.ReplicationDriver url: jdbc:mysql:replication://localhost:3306/involver_dev?zeroDateTimeBehavior=convertToNull&jdbcCompliantTruncation=false&useUnicode=true&characterEncoding=utf8 | |
RuntimeError: The driver encountered an error: no connection available | |
from /Users/mikewadhera/.gem/gems/activerecord-jdbc-adapter-0.9.1/lib/active_record/connection_adapters/jdbc_adapter.rb:330:in `initialize' | |
from /Users/mikewadhera/.gem/gems/activerecord-jdbc-adapter-0.9.1/lib/active_record/connection_adapters/jdbc_adapter.rb:457:in `initialize' | |
from /Users/mikewadhera/.gem/gems/activerecord-jdbc-adapter-0.9.1/lib/active_record/connection_adapters/jdbc_adapter.rb:53:in `jdbc_connection' | |
from /Users/mikewadhera/.gem/gems/activerecord-jdbc-adapter-0.9.1/lib/jdbc_adapter/jdbc_mysql.rb:22:in `mysql_connection' | |
from /Users/mikewadhera/code/work/jruby-rails-mysql-replication/config/initializers/no_conn_pool.rb:7:in `checkout' | |
from /Users/mikewadhera/.gem/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:98:in `connection' | |
from /Users/mikewadhera/.gem/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_pool.rb:326:in `retrieve_connection' | |
from /Users/mikewadhera/.gem/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:in `retrieve_connection' | |
from /Users/mikewadhera/.gem/gems/activerecord-2.2.2/lib/active_record/connection_adapters/abstract/connection_specification.rb:113:in `connection' | |
from (irb):2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment