On Wednesday, April 23, 2014 12:17:58 PM UTC-7, Evan Zamir wrote: > > I cross-posted this at SO first, but then figured I may get a faster > response here. > > Trying to run the "hello world" type of example given here: > http://sequel.jeremyevans.net/ > > The one modification I'm making is to connect to our MySQL server: > > DB = Sequel.connect( > :adapter => 'mysql', > :host => ENV['MYSQL_HOST'], > :username => ENV['MYSQL_USER'], > :password => ENV['MYSQL_PWD'], > :dbname => 'test', > :max_connections => 10 > ) > > You should use :database, not :dbname. See http://sequel.jeremyevans.net/rdoc/files/doc/opening_databases_rdoc.html
Thanks, Jeremy -- You received this message because you are subscribed to the Google Groups "sequel-talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/sequel-talk. For more options, visit https://groups.google.com/d/optout.
