mysql2 Questions
5
I'm doing a simple UPDATE with mysql2 :
UPDATE table1
SET table1.value1 = ?, table1.value2 = ?
WHERE user_id = (
SELECT user_id
FROM user
WHERE company_id = ?
)
table1 is related to th...
Corson asked 2/6, 2020 at 15:49
3
I was having some issues getting the mysql2 gem to install on my Windows 8.1 machine. I followed the instructions in this post:
Ruby MYSQL2 gem installation on windows 7
to install the mysql2...
Deviant asked 14/1, 2014 at 23:35
6
Solved
I am trying to install mysql2 (version 0.4.5) and I am using Rails 5.0.2, Ruby 2.3.1
I've already installed mysql server using homebrew (version 8.0.11)and started mysql as:
brew install mysql
b...
Kellner asked 18/6, 2018 at 12:48
20
Solved
Im trying to install an open source rails 3.2.21 application that uses the mysql2 gem, but when i try and run the bundle commant I get the following error:
Fetching: mysql2-0.3.18.gem (100%)
Build...
Angelia asked 14/6, 2015 at 20:53
2
Solved
I upgraded my Rails project from 5 to 6 and now Rails commands throw this error on my M2 mac:
dyld[...]: missing symbol called
It looks like some sort of problem with Node and mysql gem. When I cr...
Swab asked 10/6, 2023 at 17:40
6
Solved
while running bundle install
An error occurred while installing mysql2 (0.5.3), and Bundler cannot continue.
Make sure that `gem install mysql2 -v '0.5.3' --source 'https://rubygems.org/'` succeeds...
Remediable asked 4/6, 2021 at 16:18
6
Solved
After I upgraded mac OS Mojave from v10.14.0 to v10.14.2 and all the packages installed with Homebrew I started getting the following error when I run bin/rails console:
/Users/hirurg103/.rbenv/ve...
Leitman asked 13/12, 2019 at 17:13
6
Solved
I have read the following:
What the difference between mysql and mysql2 gem
So far I have only used MongoDB with NodeJS and I want to be able to learn MySQL for any of my relational database needs....
Lallage asked 16/8, 2014 at 22:40
33
Solved
I am having some problems when trying to install mysql2 gem for Rails. When I try to install it by running bundle install or gem install mysql2 it gives me the following error:
Error installing ...
Silden asked 31/8, 2010 at 10:54
3
Solved
Unable to install mysql2 with bundle install.
I'm asking because some sites and blogs have shown how to solve the problem caused by ssl, zstd, but I couldn't find a solution caused by zlib. Has any...
Melonie asked 5/5, 2023 at 8:7
18
Solved
I'm trying to installing the mysql2 gem on windows 7 I downloaded the connector from the mysql site and placed the libmysql.dll in ruby200\bin
then do gem install mysql2
These are the results am ...
4
Solved
I am trying to use async await with mysql2 and pooling but I think I doing things wrong. Below is my code (as I said, I am not really sure if I am doing things right here).
const pool = mysql.crea...
Pforzheim asked 25/11, 2020 at 23:50
15
Solved
After updating MySQL to 5.5 using apt-get, the mysql2 gem stopped working.
Here's the error:
Incorrect MySQL client library version!
This gem was compiled for 5.5.17 but the client library is 5.1...
2
Solved
I got this "popular" error while installing mysql2 gem on Debian Squeeze:
gem install mysql2
Building native extensions. This could take a while...
ERROR: Error installing mysql2:
ERROR: Failed t...
Beloved asked 12/12, 2011 at 14:33
13
Solved
I have 3 models:
class Student < ActiveRecord::Base
has_many :student_enrollments, dependent: :destroy
has_many :courses, through: :student_enrollments
end
class Course < ActiveRecord::Ba...
Symposium asked 23/6, 2014 at 5:18
4
I've started using mysql2 gem. I'm trying to figure out a few basic things - one of them is how to explicitly perform transactions (for batch operations, like multiple INSERT/UPDATE queries).
In ...
Outwardbound asked 15/2, 2012 at 5:59
3
Solved
I am trying to upgrade my ruby version from 2.4.5 to 2.4.9 in my rails app in Docker.
After rebuilding my container it stops with the error:
uninitialized constant Mysql2::Client::LONG_PASSWORD (...
Wallah asked 21/1, 2020 at 11:55
4
Solved
I changed mysql2 version in my project's Gemfile from 0.3.20 to 0.5.2. When I run bundle update mysql2 I get the following error:
Fetching mysql2 0.5.2 (was 0.3.21)
Installing mysql2 0.5.2 (was 0....
Simonesimoneau asked 15/7, 2019 at 20:56
4
Solved
I am currently building a RoR project that requires the mysql2 gem. I successfully installed the gem. Because it is showing up in my gem list.
[root@vc2cmmka035538n simple_cms]# gem list
*** LOCA...
Capablanca asked 22/1, 2015 at 14:29
4
has anyone been able to get Rails running with the MySQL via the mysql2 gem on Apple Silicon? I'm working with Ruby 2.5.3 and Rails 5.2.3 but would love to hear of any successes with any versions. ...
Tangleberry asked 21/5, 2021 at 6:4
7
Solved
Getting the following error after running rake db:migrate
rake aborted!
LoadError: dlopen(/Users/scott/.rbenv/versions/2.4.1/lib/ruby/gems/2.4.0/gems/mysql2-0.4.10/lib/mysql2/mysql2.bundle, 9): Li...
Modal asked 10/7, 2018 at 11:39
7
Solved
How can I use MariaDB instead of MySQL in my Rails project?
When I try to install mysql2 gem it returns error,because mysqlclient was not found.
Here some solution, but I didn't found any libmari...
Gretta asked 30/4, 2013 at 16:6
5
I am using ruby 3.0.1p64
and using macOS bigsur 11.04
mysql installed and running
Bundle install asks me to install mysql2
I am trying to install mysql2 gem like this:
sudo gem install mysql2 -v '0...
Antimasque asked 18/6, 2021 at 11:50
6
I am trying to get a rails project up and running on my local machine. When I do bundle install
Fetching mysql2 0.3.20
Installing mysql2 0.3.20 with native extensions
Gem::Ext::BuildError: ERROR:...
Girondist asked 8/7, 2018 at 4:46
3
Here is the log from my bundle install
Fetching mysql2 0.5.2
Installing mysql2 0.5.2 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
...
...
...
Cannot fi...
Hescock asked 27/6, 2019 at 8:29
1 Next >
© 2022 - 2025 — McMap. All rights reserved.