cebe / yii2-openapi

REST API application generator for Yii2, openapi 3.0 YAML -> Yii2
MIT License
129 stars 23 forks source link

Fix Github Action #170

Closed SOHELAHMED7 closed 6 months ago

SOHELAHMED7 commented 6 months ago

Fix https://github.com/cebe/yii2-openapi/pull/167#issuecomment-2090778115

Newer version of Mysql in Docker is causing this. Most likely this is it. https://dev.mysql.com/doc/relnotes/mysql/8.4/en/news-8-4-0.html

At this moment I am using 8.0.37 to fix this issue temporarily

cebe commented 6 months ago

Possible fix which could work with 8.4 and higher:

Adding this to docker-compose.yml:

command: mysqld --mysql-native-password=ON
SOHELAHMED7 commented 6 months ago

Suggestion applied with success.

cebe commented 6 months ago

Thank you!