Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

0.17.0-rc: MySQL 5.5.60 failing to start #465

Closed
mikeschinkel opened this issue Jul 5, 2018 · 6 comments
Closed

0.17.0-rc: MySQL 5.5.60 failing to start #465

mikeschinkel opened this issue Jul 5, 2018 · 6 comments
Assignees
Labels
Milestone

Comments

@mikeschinkel
Copy link
Member

Note the Stripping '520' is not an error and is running as designed. The error here is lack of communication with MySQL.

mysql-dead

@mikeschinkel mikeschinkel added this to the 0.17.0 milestone Jul 5, 2018
@mikeschinkel mikeschinkel added this to To do in Release 0.17.x via automation Jul 5, 2018
@mikeschinkel
Copy link
Member Author

it is possible because of permission denied on provision files as seen here in box-restart?

perm-deny

@mikeschinkel
Copy link
Member Author

@MickMake It appears this issue is the fact that permissions were denied when trying to copy over the provision files. I added sudo and it seemed to fix it, but I assume it should not require sudo and maybe you need to do something else? Please review this and either accept or implement a different fix.

@MickMake
Copy link
Contributor

MickMake commented Jul 5, 2018

Mike,
The permissions are actually fine. The issue is that the Wordpress DB dump has utf8mb4_unicode_520_ci within it.

180705  5:12:05 [Warning] 'proxies_priv' entry '@ root@ad42c7a6ae6c' ignored in --skip-name-resolve mode.
180705  5:12:05 [Warning] 'proxies_priv' entry '@ root@ad42c7a6ae6c' ignored in --skip-name-resolve mode.
/usr/local/bin/docker-entrypoint.sh: ignoring /docker-entrypoint-initdb.d/README.md
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/provision.sh
/usr/local/bin/docker-entrypoint.sh: running /docker-entrypoint-initdb.d/provision.sql
ERROR 1273 (HY000) at line 25: Unknown collation: 'utf8mb4_unicode_520_ci'

Confirmed this by changing all these references within a copy of the official provision.sql file.

utf8mb4_unicode_520_ci -> utf8_general_ci
utf8mb4 -> utf8

@mikeschinkel
Copy link
Member Author

@MickMake I believe there were two problems. But please see database import which addresses the 520 issue. That code should be refactored into a function and run on provision.sql after it is copied.

@MickMake MickMake moved this from To do to In progress in Release 0.17.x Jul 5, 2018
@MickMake
Copy link
Contributor

MickMake commented Jul 5, 2018

The DB import was in a race with the MySQL container import. Disabled MySQL container importing in favour of component scripts.

@MickMake MickMake moved this from In progress to Ready for QA in Release 0.17.x Jul 5, 2018
@mikeschinkel
Copy link
Member Author

Fixed.

Release 0.17.x automation moved this from Ready for QA to Done Jul 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
Development

No branches or pull requests

2 participants