Getting this error when trying to create a DB with rake db:create on google could SQL server
- 阅读更多 关于 Getting this error when trying to create a DB with rake db:create on google could SQL server
问题 I get this error when I run rake db:create root@guidir-smaill-group-1-po7p:/home/acc/site/site# RAILS_ENV=production rake db:create #<Mysql2::Error: Lost connection to MySQL server at 'reading initial communication packet', system error: 0> Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "pool"=>5, "username"=>"root", "password"=>"pass", "host"=>"173.144.230.182", "database"=>"dbname"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"} (If you set the charset manually,