Hi, I'm trying to setup a sinatra app on production server. In production environment, call to DataMapper.auto_upgrade! does not return. MySQL is running on a different server and I can connect to it via mysql command line as well as mysql gem. In an irb session I'm doing following steps to debug:
require 'rubygems' require 'data_mapper' require 'app/models/contact' require 'environment' DataMapper.setup(:default, Environment.get_db_conn_hash('production')) DataMapper.auto_upgrade! # This call doesn't return. Regards, nipra -- You received this message because you are subscribed to the Google Groups "DataMapper" group. To view this discussion on the web visit https://groups.google.com/d/msg/datamapper/-/VTmaTFPj_GEJ. To post to this group, send email to datamapper@googlegroups.com. To unsubscribe from this group, send email to datamapper+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/datamapper?hl=en.