Files
vito/app/Services/Database/Mariadb.php
Saeed Vaziry 131b828807 Plugins base (#613)
* wip

* wip

* cleanup

* notification channels

* phpstan

* services

* remove server types

* refactoring

* refactoring
2025-06-14 14:35:18 +02:00

32 lines
566 B
PHP

<?php
namespace App\Services\Database;
class Mariadb extends AbstractDatabase
{
protected array $systemDbs = ['information_schema', 'performance_schema', 'mysql', 'sys'];
protected array $systemUsers = [
'root',
'mysql',
'mariadb.sys',
];
protected string $defaultCharset = 'utf8mb3';
public static function id(): string
{
return 'mariadb';
}
public static function type(): string
{
return 'database';
}
public function unit(): string
{
return 'mariadb';
}
}