Support the ongoing development of Laravel.io →
Sail Database

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

Last updated by @amitleuva1987 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.