search for: mysql2_adapter

Displaying 4 results from an estimated 4 matches for "mysql2_adapter".

2011 Jun 08
2
MySql2 adapter hangs in Rails3 on Windows XP
...cases, if I kill the hung process, there is a stack trace that shows basically the same hung location: (in C:/Projects/Rails3/xxx) ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:migrate ---this never finishes. ^C C:..some..path../mysql2_adapter.rb:312:in `query'' C:..some..path../mysql2_adapter.rb:312:in `execute'' C:..some..path../mysql2_adapter.rb:629:in `configure_connection'' <snip> C:/Ruby192/lib/ruby/1.9.1/rake.rb:1992:in `run'' C:/Ruby192/bin/rake:31:in `<main>'' I''v...
2013 Apr 13
2
running rails on my linux mint
...client.rb:44:in `connect'': Unknown database ''simple_pod_development'' (Mysql2::Error) from /var/lib/gems/1.8/gems/mysql2-0.3.11/lib/mysql2/client.rb:44:in `initialize'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `new'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/mysql2_adapter.rb:16:in `mysql2_connection'' from /var/lib/gems/1.8/gems/activerecord-3.2.13/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in `s...
2011 Feb 09
0
Mysql2::Error: SAVEPOINT active_record_1 does not exist
...abstract_adapter.rb:202:in `rescue in log'' /Users/conor/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/ active_record/connection_adapters/abstract_adapter.rb:194:in `log'' /Users/conor/.rvm/gems/ruby-1.9.2-p136/gems/mysql2-0.2.6/lib/ active_record/connection_adapters/mysql2_adapter.rb:314:in `execute'' /Users/conor/.rvm/gems/ruby-1.9.2-p136/gems/mysql2-0.2.6/lib/ active_record/connection_adapters/mysql2_adapter.rb:358:in `rollback_to_savepoint'' /Users/conor/.rvm/gems/ruby-1.9.2-p136/gems/activerecord-3.0.3/lib/ active_record/connection_adapters/abstra...
2011 Feb 20
2
Problem with mysql2 gem and Debian
...ne in development environment the application runs just fine. But when I want to deploy it on our production server I get an error message from passenger. "Please install the mysql2 adapter: `gem install activerecord-mysql2- adapter` (no such file to load -- active_record/connection_adapters/ mysql2_adapter)" The server runs with Debian and also Ruby 1.9.2 and Rails 3.0.3. I''ve already tried manually installing/uninstalling/reinstalling the mysql2 gem. Different configurations in database.yml. Executing bundle install as capistrano task and also directly on the server. Always the same...