mysql2
Ruby on Rails mysql2 adapter problem
I have installed ruby and rails and my application gives me an error when I am trying to run rake db:migrate[详细]
2023-03-14 13:04 分类:问答rescuing from Mysql2::Error
I have a simple question. I have a join table which has an index that ensure that (col 1, col 2) is unique.[详细]
2023-03-13 13:28 分类:问答Error installing mysql2 gem
I\'m trying to set up my RubyOnRails development enviroment with MySQL. I have XAMPP installed, so I decided to use the XAMPP\'s MySQL installation, (therefore I installed the XAMPP dev package).[详细]
2023-03-10 18:06 分类:问答how to solve 'connection is still waiting for a result' error with em_mysql2
I\'m using activerecord with em_mysql2 under Goliath (eventmachine). The oddest thing is happening with my User model. When I do a POST to /users the first time, it all works just find as expected. Wh[详细]
2023-03-08 20:52 分类:问答Issue with rake & mysql2 gem
Newbie to rails here. I\'m running Snow Leopard with 10.6.4 with rails (3.0.7), mysql2 (0.3.2) gem & mysql-5.5.12 (64 bit version).[详细]
2023-03-08 19:56 分类:问答Standalone script reports "MySQL server has gone away"; problem with my.cnf?
I have a ruby script that requires \'mysql2\' and uses 开发者_C百科query statements to mysql like[详细]
2023-03-07 22:24 分类:问答mysql2 gem installed fine but still getting "Please install the myslq2 adapter..." when running "rake db:migrate"
I\'ve read through numerous posts here regarding mysql2, but although the gem seems to install fine, I still get error when running any rake db tasks or rails commands. In my Gemfile:[详细]
2023-03-04 16:16 分类:问答Ruby on rails-->Mysql2::Error Lost connection to MySQL server at 'waiting for initial communication packet', system error: 0
Hi I just started on Ruby on Rails. I try to launch my first \'HelloWorld\' app using WebRick and MySQL 5.5, Windows XP[详细]
2023-03-04 13:14 分类:问答gem install with archflag and version mysql2
frustrated. Is this wrong? env ARCHFLAGS=\"-arch x86_64\" sudo gem install mysql2 --version \'0.2.6\' -- --with-mysql-config=/usr/local/mysql/bin/mysql_config[详细]
2023-03-03 14:24 分类:问答Installing mysql2 gem on mac with RVM is real pain
Step 1:-- rails s/usr/local/rvm/gems/ruby-1.9.2-p180/gems/mysql2-0.3.2/lib/mysql2.rb:8:in `require\': dlopen(/usr/local/rvm/gems/ruby-1.9.2-p180/gems/mysql2-0.3.2/lib/mysql2/mysql2.bundle, 9): Librar[详细]
2023-03-01 12:32 分类:问答