Add database and database users sync (#537)

* Add database and database users sync

* get mysl users

* add mariadb and postgres

* fix phpstan
This commit is contained in:
Saeed Vaziry
2025-03-12 22:59:25 +01:00
committed by GitHub
parent 493cbb0849
commit 0f06d81aac
17 changed files with 383 additions and 65 deletions

View File

@ -6,5 +6,12 @@ class Mysql extends AbstractDatabase
{
protected array $systemDbs = ['information_schema', 'performance_schema', 'mysql', 'sys'];
protected array $systemUsers = [
'root',
'mysql.session',
'mysql.sys',
'mysql.infoschema',
];
protected string $defaultCharset = 'utf8mb3';
}