On Feb 4, 2:59 pm, Timothy M. li...@ruby-forum.com wrote:
Hi I'm new to this. Today I installed the mysql gem and when I
attempted db:create ruby told me that This gem was compiled for 6.0.0
but the client library is 5.5.15
I then installed mysql 6.0.0 and copied the resulting libmySQL.dll
For further details about this issue, refer to the post -
http://rorguide.blogspot.com/2011/03/installing-mysql2-gem-on-ruby-192-and.html
This along with many other issues of mysql2 gem has already been solved
by many users and they have posted their solutions also.
Thanks
Ritesh Kumar
This worked for me. A minor correction: libmysql.dll is in mysql/lib
folder and paste it to your ruby/bin folder!!!
Yacobus Reinhart wrote in post #664497:
[1] gem install mysql
[2] you will see like error syntac but dont pay attention to it
[3] find LIBMYSQL.DLL from your mysql/bin folder in
Hello
My understanding is rails 3 does not have good binding with MySql2
adapter. so i would suggest you create database explicitly using regular
sql and try to run rake db:migrate.
Second problem could be your mysql version; not sure which versions are
well supported.
but yes if you try
Raghavendra,
I think so.
I´d remove the mysql 5.5 and install the 5.1 version, then, the error
has been changed. I didn´t save the log file, so, i can´t to tell about
it.
But, considering the possibility of incompatibility between the rails 3
and mysql2 adapter, well, there are so many
On Fri, Apr 22, 2011 at 8:29 AM, Darlan Machado li...@ruby-forum.comwrote:
Raghavendra,
I think so.
I´d remove the mysql 5.5 and install the 5.1 version, then, the error
has been changed. I didn´t save the log file, so, i can´t to tell about
it.
But, considering the possibility of
Bryan Crossland wrote in post #994054:
On Tue, Apr 19, 2011 at 10:24 PM, Darlan Machado
li...@ruby-forum.comwrote:
C:\appws\cookbookrake db:create --trace
What adapter are you using in your databse.yml file?
B.
yes man, the adapter i´m pointing in the database.yml is 'mysql2'.
I´d try
Have you mention the database name in dabase.yml file?
Regards
Amrit pal
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email
On Apr 12, 12:46 pm, amritpal pathak amritpalpath...@gmail.com
wrote:
i tried to generate a database .The config/database.yml file hold following
for the development environment
adapter: mysql
database: blogg
username: root
password: 12345
socket: /var/run/mysqld/mysqld.sock
On Apr 12, 8:00 am, Frederick Cheung frederick.che...@gmail.com
wrote:
On Apr 12, 12:46 pm, amritpal pathak amritpalpath...@gmail.com
wrote: i tried to generate a database .The config/database.yml file hold
following
for the development environment
adapter: mysql
database: blogg
I faced this problem too, if you have installed MYSQL 5.5 you should
uninstall and install MYSQL 5.1 . I just left a blog post about this :
http://geryit.com/blog/2011/01/installing-mysql-with-rails-on-mac-os-x-snow-leopard/
--
Posted via http://www.ruby-forum.com/.
--
You received this
nevermind it was the wrong password :(
On Sep 29, 2:49 pm, badnaam asitkmis...@gmail.com wrote:
Couldn't create database for {reconnect=false, encoding=utf8,
username=root, adapter=mysql, database=app_production,
pool=5, password=pp, socket=/var/run/mysqld/mysqld.sock},
charset: utf8,
Marnen Laibow-Koser wrote:
Sagar Jhobalia wrote:
m trying to run my hello world prgmsince 3hrs now!! pls help..1st i
got the above stated error..on solvin tatthnks 2 u'll now i am getting
:
/!\ FAILSAFE /!\ 2010-08-24 03:27:09 +0530
Status: 500 Internal Server Error
Unknown
Sagar Jhobalia wrote:
Marnen Laibow-Koser wrote:
Sagar Jhobalia wrote:
m trying to run my hello world prgmsince 3hrs now!! pls help..1st i
got the above stated error..on solvin tatthnks 2 u'll now i am getting
:
/!\ FAILSAFE /!\ 2010-08-24 03:27:09 +0530
Status: 500 Internal Server
m trying to run my hello world prgmsince 3hrs now!! pls help..1st i
got the above stated error..on solvin tatthnks 2 u'll now i am getting
:
/!\ FAILSAFE /!\ 2010-08-24 03:27:09 +0530
Status: 500 Internal Server Error
Unknown database 'demo_development'
Sagar Jhobalia wrote:
m trying to run my hello world prgmsince 3hrs now!! pls help..1st i
got the above stated error..on solvin tatthnks 2 u'll now i am getting
:
/!\ FAILSAFE /!\ 2010-08-24 03:27:09 +0530
Status: 500 Internal Server Error
Unknown database 'demo_development'
crap. nebbermind. i was reading the wrong piece of code; all i really
needed to do was:
rake db:create:all
and all is happy. pardon the noise (but maybe my experience will help
someone else in the future).
- ff
--
Posted via http://www.ruby-forum.com/.
--
You received this message
you need reinstall mysql gems with correct flags. Try google this : mysql
gems flags snow leopard
--
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email to rubyonrails-t...@googlegroups.com.
To unsubscribe from
I had similar problem after upgrading to Snow leopard, i had to
reinstall the Mysql gem with right architecture flags.
Michael Michael wrote:
I have yet to find a solution for this issue I have tried multiple
things that I have found on google, but yet have i found a solution. If
someone
I've had an issue with the sqlite driver. What version are you using?
Looking at the RubyForge site, they've released version 1.3.0 of
sqlite3-ruby on June 6th - upgrading this might help
On Jun 28, 3:49 pm, Joe x.lt0...@gmail.com wrote:
Hi everyone,
First of all, I'm running Mac OS X Snow
Michael^2,
I have faced the same problem, and here is how I solved it, with the
list of failures. Note that I have faced the problem only once on this
particular configuration. Elsewhere (PPC and x86_64) the world is
cloudless.
Configuration:
- OS: Fedora 12
- Arch: PPC64
- Rails 3 pre
- Gem
Rails Terrorist wrote:
[1] gem install mysql
[2] you will see like error syntac but dont pay attention to it
[3] find LIBMYSQL.DLL from your mysql/bin folder in your mysql folder
not ruby folder.
[4] copy paste that file to ruby/bin
[5] restart your server or console, if you are already
my gem file already has it, any other solutions? I just decided to do
the package install of mysql to see if i was manually installing it
wrong, and nope same issue still.
source 'http://rubygems.org'
gem 'rails', '3.0.0.beta2'
# Bundle edge Rails instead:
# gem 'rails', :git =
Post up the output of this command:
gem list
On 12 April 2010 10:28, Michael Michael li...@ruby-forum.com wrote:
my gem file already has it, any other solutions? I just decided to do
the package install of mysql to see if i was manually installing it
wrong, and nope same issue still.
On Sun, Apr 11, 2010 at 5:28 PM, Michael Michael li...@ruby-forum.comwrote:
my gem file already has it, any other solutions? I just decided to do
the package install of mysql to see if i was manually installing it
wrong, and nope same issue still.
Michael, did you run the following in the
Ben Wiseley wrote:
I think you might have the sqlite gem but not the actual sqlite
libraries
installed.
I m trying to intall as..
C:\ruby\binruby gem install sqlite3
Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
ERROR: Failed to build
Sorry - can't be of more help - I'm a Mac user - I just ran into a similar
error when setting up my new mac until I installed sqlite3
On Thu, Feb 18, 2010 at 10:03 AM, Bhupendra Mishra li...@ruby-forum.comwrote:
Ben Wiseley wrote:
I think you might have the sqlite gem but not the actual
try this gem
gem install sqlite3-ruby -v=1.2.3
On Thu, Feb 18, 2010 at 12:06 PM, ben wiseley wisel...@gmail.com wrote:
Sorry - can't be of more help - I'm a Mac user - I just ran into a similar
error when setting up my new mac until I installed sqlite3
On Thu, Feb 18, 2010 at 10:03 AM,
I just experienced the same problem and after a Google on the phrase,
the general consensus among those who offered solutions worked for me
also. It seems that MySQL 5.1 does not play well with Ruby. I resolved
this by downloading the 5.0 version. More specifically:
Frederick Cheung wrote:
On 23 Apr 2008, at 04:16, globalrev wrote:
do i need to download(and pay for) mysql separately from
www.mysql.com?
mysql is free (look for the 'community server' stuff, as there is also
stuff you can pay for if you want technical support and that sort of
thing).
Yup that works.
g...@ubi:~$ irb1.8
irb(main):001:0 require 'mysql'
= true
irb(main):002:0
So what does that mean?
On Jul 4, 1:05 am, Älphä Blüë rails-mailing-l...@andreas-s.net
wrote:
Well it's either mysql server related or your gem. Have you tried to
test whether or not your gem works?
Hi Greg,
That's a good thing - means your gem for mysql is fine. I would try a
few other things - it really sounds like it's on the server side of
mysql..
What version of mysql are you running?
I would create the library_development DB from scratch and try to
migrate your beginning data
Have you created the library_development, library_test, and
library_production databases? These need to be in place in mysql
prior to any db:migrate calls.
On Jul 2, 4:09 pm, Greg dartg...@googlemail.com wrote:
Hi,
I'm attempting to follow this tutorial:
development:
adapter: mysql
encoding: utf8
reconnect: true
database: library_development
pool: 5
username: root
password:
host: localhost
This should be fine. You don't need to specify the socket. Are you
connecting on a particular port? If you are, you need to
Thanks for the response.
I'm actually just trying to get db:create to work first (although I
did try db:migrate to no avail). Surely db:create should work with
just development defined in the yml and existing in MySQL
I will try creating and defining all three, just to be sure...
On Jul
Greg wrote:
Thanks for the response.
I'm actually just trying to get db:create to work first (although I
did try db:migrate to no avail). Surely db:create should work with
just development defined in the yml and existing in MySQL
I will try creating and defining all three, just to
nm - the message was tied together with your console output..
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Ruby
on Rails: Talk group.
To post to this group, send email
Hmmm...
Thanks - I've tried it with host: localhost instead of socket, but
neither works - still get the Protocol error...
Any ideas?
On Jul 3, 8:38 pm, Älphä Blüë rails-mailing-l...@andreas-s.net
wrote:
Greg wrote:
Thanks for the response.
I'm actually just trying to get db:create to
Well it's either mysql server related or your gem. Have you tried to
test whether or not your gem works?
irb
require 'mysql'
= 'true'
?
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
Searchlogic is very plugin for search and i hoped it would help me
better in pagination but pagination is not at all working.
Any pupil facing such type of errors.
Thanks in advance
On 5/16/09, Paul Nelligan rails-mailing-l...@andreas-s.net wrote:
Or I could just remove it, it's not essential
The searchlogic plugin is trying to query your database, you could
try to fix it by adding some if table exists before querying.
-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) | http://blog.codevader.com/ (en)
On Sat, May 16, 2009 at 9:55 AM, Paul Nelligan
Or I could just remove it, it's not essential to my project
The weird thing is, I've previously served and created/migrated another
application with searchlogic included, and didn't see any such issues
strange!
Maurício Linhares wrote:
The searchlogic plugin is trying to query your database,
42 matches
Mail list logo