Run multiple websites using the same Laravel installation while keeping tenant specific data separated for fully independent multi-domain setups, previously github.com/hyn/multi-tenant
If we use managed databases from DigitalOcean, they support only caching_sha2_password as auth plugin for mysql. We should add in config the option of what auth plugin tenancy should use.
return $connection->statement("CREATE USER IF NOT EXISTS {$config['username']}@'{$config['host']}' IDENTIFIED WITH {$config['auth_method']} BY {$config['password']}'");
where auth_method should be mysql_native_password or caching_sha2_password
Description of your feature
If we use managed databases from DigitalOcean, they support only caching_sha2_password as auth plugin for mysql. We should add in config the option of what auth plugin tenancy should use.
Proposed behavior
Hyn\Tenancy\Generators\Webserver\Database\Drivers\MariaDB:42
where auth_method should be mysql_native_password or caching_sha2_password
Current behavior
Hyn\Tenancy\Generators\Webserver\Database\Drivers\MariaDB:42
Information