On Aug 3, 10:16 am, Scott LaBounty <[email protected]> wrote: > It looks like I'm doing something wrong so I'm not getting the mySQL > adapter. I have a problem when I try to do a migration: > > slabou...@slabounty-laptop:~/RamazeTutorial/Library2$ sequel -m dbMigration/ > mysql://libraryMySQL.db > Error: Sequel::AdapterNotFound: Could not load mysql adapter: > no such file to load -- > mysql/usr/local/lib/ruby/gems/1.9.1/gems/sequel-3.2.0/lib/sequel/database.rb:112:in > `rescue in adapter_class' > > I installed the mysql gem. Anything else I need to do? Also note, everything > works fine with sqlite.
Does irb -rubygems -rmysql bring up an error? Your connection string looks wrong, but that shouldn't cause that error message. mysql://user:p...@host:port/database is the connection string format. Jeremy --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sequel-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/sequel-talk?hl=en -~----------~----~----~----~------~----~------~--~---
