/home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `real_connect': Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (Mysql::Error)
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/mysql_adapter.rb:411:in `connect'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/mysql_adapter.rb:131:in `initialize'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/mysql_adapter.rb:38:in `new'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/mysql_adapter.rb:38:in `mysql_connection'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:315:in `new_connection'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:325:in `checkout_new_connection'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:247:in `block (2 levels) in checkout'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `loop'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:242:in `block in checkout'
from /home/nuventure/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:239:in `checkout'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:102:in `block in connection'
from /home/nuventure/.rvm/rubies/ruby-2.1.0/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:101:in `connection'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_pool.rb:410:in `retrieve_connection'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_specification.rb:171:in `retrieve_connection'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/connection_adapters/abstract/connection_specification.rb:145:in `connection'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:662:in `initialize'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:570:in `new'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:570:in `up'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/activerecord-3.2.17/lib/active_record/migration.rb:551:in `migrate'
from /home/nuventure/Documents/rubycas-server/lib/casserver/server.rb:262:in `init_database!'
from /home/nuventure/Documents/rubycas-server/lib/casserver/server.rb:273:in `block in <class:Server>'
from /home/nuventure/.rvm/gems/ruby-2.1.0/gems/sinatra-1.4.5/lib/sinatra/base.rb:1402:in `configure'