Les Peabody
2010-Jun-04 18:40 UTC
sqlite specified in database.yml, rails tries to use mysql
Hi All, I''ve run into an interesting (and annoying) problem. I have a development environment on a Windows machine and on a remote Linux machine. I cloned my environment on the Linux machine over to my Windows box. I have installed all the required gems for the project. When I try to reconfigure database.yml to use sqlite3 instead of mysql, and when I try to do a ''rake db:schema:load'' I get prompted with an error box saying: "The program can''t start because LIBMYSQL.dll is missing from your computer. Try reinstalling the program to fix this problem." I have no idea why it would even be trying to access a mysql dll if I specified that it should be using sqlite3. Any thoughts? Thanks, Les -- 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 to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Trausti Thor Johannsson
2010-Jun-04 19:06 UTC
Re: sqlite specified in database.yml, rails tries to use mysql
Have you checked which environment you are running in ? Have you removed ALL mysql config from database.yml ? Trausti On Fri, Jun 4, 2010 at 8:40 PM, Les Peabody <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> wrote:> Hi All, > > I''ve run into an interesting (and annoying) problem. I have a > development environment on a Windows machine and on a remote Linux > machine. I cloned my environment on the Linux machine over to my > Windows box. I have installed all the required gems for the project. > When I try to reconfigure database.yml to use sqlite3 instead of mysql, > and when I try to do a ''rake db:schema:load'' I get prompted with an > error box saying: > > "The program can''t start because LIBMYSQL.dll is missing from your > computer. Try reinstalling the program to fix this problem." > > I have no idea why it would even be trying to access a mysql dll if I > specified that it should be using sqlite3. Any thoughts? > > Thanks, > Les > -- > 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 to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Les Peabody
2010-Jun-04 19:10 UTC
Re: sqlite specified in database.yml, rails tries to use mysql
Trausti Thor Johannsson wrote:> Have you checked which environment you are running in ? > > Have you removed ALL mysql config from database.yml ? > > > TraustiSolved. I double checked both of these items, but both were in order. I solved the problem by grabbing hold of a libmysql.dll file and dumping it in C:\Ruby\bin, and all was well. Windows is so touchy... Thanks. -- 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 to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.