mirror of
https://github.com/stancl/tenancy-docs.git
synced 2025-12-12 10:14:03 +00:00
555 B
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;