I've recently faced the same problem. What I understood from the pages I visited from google was that the rails 2.3.3 which I had installed on my windows xp machine didn't work properly with the mysql driver (libmysql.dll). I had to download a different version and add it in c:\ruby\bin I will be able to get more information in some 3 more hours when I will be in office where I experienced this error
Thanks & Regards, Dhruva Sagar. Jonathan Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html> - "May you live every day of your life." On Wed, Nov 4, 2009 at 3:40 AM, Frederick Cheung <[email protected] > wrote: > > > > On Nov 3, 10:02 pm, Zovar <[email protected]> wrote: > > Hi there! > > > > I am PHP developer and trying to learn ROR. Currently I am building my > > first Rails website (OS X Snow Leopard, TextMate) and decided to > > switch from sqlite to mysql. After many-many hours of searching the > > internet I managed to install mysql gem. Now I get this error when I > > try to run rake migrations: > > > > rake aborted! > > Mysql::Error: query: not connected: CREATE TABLE `schema_migrations` > > (`version` varchar(255) NOT NULL) ENGINE=InnoDB > > > > I read somewhere that new latest Rails doesn't work with mysql > > properly and I have to reinstall mysql etc etc. > > > > What's in your database.yml ? If you cd to your app and run > > ruby script/dbconsole > > then rails will open up a mysql console using the connection > parameters from your database.yml file, if that doesn't work then > there's definitely something wrong with that configuration file. > > > I am seriously tired of this, it just doesn't make any sense. I can > > set up Apache+PHP+MySQL environment literary in minutes, why Rails > > +MySQL takes days?? > > Because you're new to rails. I can set up rails and mysql pretty damn > quick but it would probably take me way longer to set up php & mysql > or some java based framework, but that's just to be expected given the > tools I know. > > Fred > > Is there a safe stack of Ruby+Rails+MySQL that I > > can just install and concentrate on web development? > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

