Sorry for not gzipping the output log.
I do see mysql-server-5.7 being installed, early on. Then it seems like the last lines of the log is most relevant:
+ ./stack.sh:main:1011 : is_service_enabled mysql postgresql + functions-common:is_service_enabled:1881 : local xtrace ++ functions-common:is_service_enabled:1882 : set +o ++ functions-common:is_service_enabled:1882 : grep xtrace + functions-common:is_service_enabled:1882 : xtrace='set -o xtrace' + functions-common:is_service_enabled:1883 : set +o xtrace + functions-common:is_service_enabled:1911 : return 0 + ./stack.sh:main:1012 : configure_database + lib/database:configure_database:128 : configure_database_mysql + lib/databases/mysql:configure_database_mysql:61 : local my_conf mysql slow_log + lib/databases/mysql:configure_database_mysql:62 : echo_summary 'Configuring and starting MySQL' + ./stack.sh:echo_summary:434 : [[ -t 3 ]] + ./stack.sh:echo_summary:440 : echo -e Configuring and starting MySQL 2018-03-19 13:36:14.499 | Configuring and starting MySQL + lib/databases/mysql:configure_database_mysql:64 : is_ubuntu + functions-common:is_ubuntu:465 : [[ -z deb ]] + functions-common:is_ubuntu:468 : '[' deb = deb ']' + lib/databases/mysql:configure_database_mysql:65 : my_conf=/etc/mysql/my.cnf + lib/databases/mysql:configure_database_mysql:79 : is_fedora + functions-common:is_fedora:438 : [[ -z Ubuntu ]] + functions-common:is_fedora:442 : '[' Ubuntu = Fedora ']' + functions-common:is_fedora:442 : '[' Ubuntu = 'Red Hat' ']' + functions-common:is_fedora:443 : '[' Ubuntu = RedHatEnterpriseServer ']' + functions-common:is_fedora:444 : '[' Ubuntu = CentOS ']' + functions-common:is_fedora:444 : '[' Ubuntu = OracleServer ']' + functions-common:is_fedora:445 : '[' Ubuntu = Virtuozzo ']' + lib/databases/mysql:configure_database_mysql:79 : is_suse + functions-common:is_suse:453 : [[ -z Ubuntu ]] + functions-common:is_suse:457 : [[ Ubuntu =~ (openSUSE) ]] + functions-common:is_suse:457 : [[ Ubuntu == \S\U\S\E\ \L\I\N\U\X ]] + lib/databases/mysql:configure_database_mysql:87 : sudo mysqladmin -u root password password ^Gmysqladmin: connect to server at '127.0.0.1' failed error: 'Can't connect to MySQL server on '127.0.0.1' (111)' Check that mysqld is running on 127.0.0.1 and that the port is 3306. You can check this by doing 'telnet 127.0.0.1 3306' + lib/databases/mysql:configure_database_mysql:87 : true + lib/databases/mysql:configure_database_mysql:90 : sudo mysql -uroot -ppassword -h127.0.0.1 -e 'GRANT ALL PRIVILEGES ON *.* TO '\''root'\''@'\''%'\'' identified by '\''password'\'';' mysql: [Warning] Using a password on the command line interface can be insecure. ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111) + lib/databases/mysql:configure_database_mysql:1 : exit_trap
Sorry for not gzipping the output log.
I do see mysql-server-5.7 being installed, early on. Then it seems like the last lines of the log is most relevant:
+ ./stack. sh:main: 1011 : is_service_enabled mysql postgresql common: is_service_ enabled: 1881 : local xtrace common: is_service_ enabled: 1882 : set +o common: is_service_ enabled: 1882 : grep xtrace common: is_service_ enabled: 1882 : xtrace='set -o xtrace' common: is_service_ enabled: 1883 : set +o xtrace common: is_service_ enabled: 1911 : return 0 sh:main: 1012 : configure_database configure_ database: 128 : configure_ database_ mysql mysql:configure _database_ mysql:61 : local my_conf mysql slow_log mysql:configure _database_ mysql:62 : echo_summary 'Configuring and starting MySQL' sh:echo_ summary: 434 : [[ -t 3 ]] sh:echo_ summary: 440 : echo -e Configuring and starting MySQL mysql:configure _database_ mysql:64 : is_ubuntu common: is_ubuntu: 465 : [[ -z deb ]] common: is_ubuntu: 468 : '[' deb = deb ']' mysql:configure _database_ mysql:65 : my_conf= /etc/mysql/ my.cnf mysql:configure _database_ mysql:79 : is_fedora common: is_fedora: 438 : [[ -z Ubuntu ]] common: is_fedora: 442 : '[' Ubuntu = Fedora ']' common: is_fedora: 442 : '[' Ubuntu = 'Red Hat' ']' common: is_fedora: 443 : '[' Ubuntu = RedHatEnterpris eServer ']' common: is_fedora: 444 : '[' Ubuntu = CentOS ']' common: is_fedora: 444 : '[' Ubuntu = OracleServer ']' common: is_fedora: 445 : '[' Ubuntu = Virtuozzo ']' mysql:configure _database_ mysql:79 : is_suse common: is_suse: 453 : [[ -z Ubuntu ]] common: is_suse: 457 : [[ Ubuntu =~ (openSUSE) ]] common: is_suse: 457 : [[ Ubuntu == \S\U\S\E\ \L\I\N\U\X ]] mysql:configure _database_ mysql:87 : sudo mysqladmin -u root password password mysql:configure _database_ mysql:87 : true mysql:configure _database_ mysql:90 : sudo mysql -uroot -ppassword -h127.0.0.1 -e 'GRANT ALL PRIVILEGES ON *.* TO '\''root' \''@'\' '%'\'' identified by '\''password'\'';' mysql:configure _database_ mysql:1 : exit_trap
+ functions-
++ functions-
++ functions-
+ functions-
+ functions-
+ functions-
+ ./stack.
+ lib/database:
+ lib/databases/
+ lib/databases/
+ ./stack.
+ ./stack.
2018-03-19 13:36:14.499 | Configuring and starting MySQL
+ lib/databases/
+ functions-
+ functions-
+ lib/databases/
+ lib/databases/
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ functions-
+ lib/databases/
+ functions-
+ functions-
+ functions-
+ lib/databases/
^Gmysqladmin: connect to server at '127.0.0.1' failed
error: 'Can't connect to MySQL server on '127.0.0.1' (111)'
Check that mysqld is running on 127.0.0.1 and that the port is 3306.
You can check this by doing 'telnet 127.0.0.1 3306'
+ lib/databases/
+ lib/databases/
mysql: [Warning] Using a password on the command line interface can be insecure.
ERROR 2003 (HY000): Can't connect to MySQL server on '127.0.0.1' (111)
+ lib/databases/