You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Dmitry Lysnichenko (JIRA)" <ji...@apache.org> on 2013/10/28 16:14:31 UTC

[jira] [Resolved] (AMBARI-3599) MySQL install has error but task completes successfully

     [ https://issues.apache.org/jira/browse/AMBARI-3599?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Lysnichenko resolved AMBARI-3599.
----------------------------------------

    Resolution: Fixed

committed to trunk

> MySQL install has error but task completes successfully
> -------------------------------------------------------
>
>                 Key: AMBARI-3599
>                 URL: https://issues.apache.org/jira/browse/AMBARI-3599
>             Project: Ambari
>          Issue Type: Bug
>          Components: agent
>    Affects Versions: 1.4.0
>            Reporter: Dmytro Shkvyra
>            Assignee: Dmytro Shkvyra
>             Fix For: 1.5.0
>
>         Attachments: AMBARI-3599.patch
>
>
> MySQL install has error but task completes successfully
> Install logs:
> {code}
> "stdout" : "notice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: + mysql -u root -e 'GRANT ALL PRIVILEGES ON *.* TO '\\''hive'\\''@'\\''hor10n15.gq1.ygridcore.net'\\'';'\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: + mysql -u root -e 'flush privileges;'\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: + service mysqld stop\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]/returns: Stopping mysqld:  [  OK  ]\r\nnotice: /Stage[2]/Hdp-mysql::Server/Exec[/tmp/addMysqlUser.sh]: Triggered 'refresh' from 1 events\nnotice: Finished catalog run in 8.12 seconds"
> {code}



--
This message was sent by Atlassian JIRA
(v6.1#6144)