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

Have you checked which environment you are running in ?

Have you removed ALL mysql config from database.yml ?

Trausti

Trausti Thor Johannsson wrote:

Have you checked which environment you are running in ?

Have you removed ALL mysql config from database.yml ?

Trausti

Solved.

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.