Content
migrate-from-pre-8.sh script error
Added by raycho nikov over 3 years ago
I get this error when running the script.
1.6) Migrating database from 6 to 7 ... (NOOP if already on 7)
rake aborted!
Mysql2::Error: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directory")
/usr/local/bundle/gems/mysql2-0.4.9/lib/mysql2/client.rb:89:in `connect'
/usr/local/bundle/gems/mysql2-0.4.9/lib/mysql2/client.rb:89:in `initialize'
.............................
/usr/local/bundle/gems/railties-5.0.6/lib/rails/application.rb:448:in `block in run_tasks_blocks'
/usr/local/bundle/gems/rake-12.1.0/exe/rake:27:in `<top (required)>'
/usr/local/bundle/bin/bundle:23:in `load'
/usr/local/bundle/bin/bundle:23:in `<main>'
Tasks: TOP => db:migrate => environment
(See full trace by running task with --trace)
Could not migrate database