tenancy-docs/source/docs/v3/integrations/sail.blade.md
Samuel Štancl 352e6b8b12
Update source/docs/v3/integrations/sail.blade.md
Co-authored-by: lukinovec <lukinovec@gmail.com>
2022-10-27 12:44:37 +02:00

607 B
Raw Blame History

title extends section
Laravel Sail integration _layouts.documentation content

Laravel Sail

Sail can only perform the create, read, update and delete operations in the central database by default. To give Sail permission to also perform these operations in tenant databases, log in to Sail's MySQL shell as the root user (docker-compose exec mysql bash, then mysql -u root -p by default, the password is password) and grant the sail user access to all databases by running the following statements:

GRANT ALL PRIVILEGES on *.* to 'sail'@'%';
FLUSH PRIVILEGES;