guillaumebriday / todolist-backend-laravel

Back-end application for Todolist Web application built with Laravel 5.8 and Vue.js
https://todolist-docs.guillaumebriday.me
MIT License
70 stars 22 forks source link

Cannot run php artisan migrate because of Mysql 8 #5

Closed kresnasatya closed 5 years ago

kresnasatya commented 5 years ago

Hi @guillaumebriday, thanks for providing this awesome feature. After I run docker-compose run --rm todolist-server php artisan migrate, it shows error like this picture:

photo_2019-02-07 20 47 28

I suspect the problem is caching_sha2_password as mysql 8 authentication. How can you solve your problem about this one in your local computer?

kresnasatya commented 5 years ago

Hi there, because of nobody response, then I will close this issue.

guillaumebriday commented 5 years ago

Hey, sorry I didn't see your issue.

I didn't solve this issue so I'm still using mysql 5.7 for now. I know, it's not the best practice :/

cf: https://github.com/guillaumebriday/todolist-backend-laravel/commit/9d059b1a3a1e45f74d58102db8eb577afe9476a1

kresnasatya commented 5 years ago

Hi @guillaumebriday, thanks for the reply. Great, I will try again.

connecteev commented 5 years ago

php artisan migrate seems to work on Mysql v 8.0:

$ mysql --version
mysql  Ver 8.0.16 for osx10.13 on x86_64 (Homebrew)