Hello,
I am taking a pull from a Git repository of Laravel Project build up using Sail. Then i run below command to get the dependencies.
docker run --rm
-u "$(id -u):$(id -g)"
-v $(pwd):/var/www/html
-w /var/www/html
laravelsail/php81-composer:latest
composer install --ignore-platform-reqs
it runs with no issues. then I start the docker services using "sail up -d" command. each service start but mysql does not start. It shows below error.
ERROR 1064 (42000) at line 2: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.* TO 'sail'@'%'' at line 1
and because mysql does not start, i can not migrate database.
Thanks in Advance, Amit
Below solution worked for me.
https://stackoverflow.com/questions/65564197/laravel-sail-rebuild-default-database
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community