帽子流产! SocketError:getaddrinfo:名称或服务未知

时间:2017-02-17 07:04:40

标签: ruby-on-rails ruby amazon-web-services ssh capistrano

我是一名铁杆新手,为我的rails应用程序实施Capistrano首次在aws ec2上部署。将非常感谢帮助。

我在aws上实例化了一个ubuntu ec2实例。我的Capistrano文件如下。

deploy.rb

    Error
    SQL query: DocumentationEdit Edit

    SELECT `comment`
               FROM `phpmyadmin`.`pma__column_info`
              WHERE db_name     = 'sql_route10'
                AND table_name  = ''
                AND column_name = '(db_comment)'
MySQL said: Documentation

#1100 - Table 'pma__column_info' was not locked with LOCK TABLES

staging.rb

$cfg['Servers'][$i]['pmadb'] = $dbname; 

我的aws安全密钥对位于home / .ec2 / stage1.pem

当我运行“cap staging deploy”

我收到了这个错误。

/* Optional: User for advanced features */
 77     $cfg['Servers'][$i]['controluser'] = 'dbuser';
 78     $cfg['Servers'][$i]['controlpass'] = 'dbpass';

0 个答案:

没有答案