tenancy-docs/source/docs/v3/integrations/sail.blade.md
2022-10-25 23:50:10 +05:30

555 B

title extends section
Laravel Sail integration _layouts.documentation content

Creating tenants

By default sail has the ALL privilege on the default database (here it is the central database). In order to create, read, update and delete operations related to the database, we will assign ALL privilege on all databases via the wildcard *;

To do so either login to the mysql shell or via any client using root user credentials and run the following statements

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