Dmytro Shkvyra created AMBARI-3599: -------------------------------------- Summary: 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 Fix For: 1.5.0
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)