mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-05 07:52:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
31
app/Services/Database/Mariadb.php
Normal file
31
app/Services/Database/Mariadb.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?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';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user