mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-03 15:02:34 +00:00
Plugins base (#613)
* wip * wip * cleanup * notification channels * phpstan * services * remove server types * refactoring * refactoring
This commit is contained in:
32
app/Services/Database/Mysql.php
Executable file
32
app/Services/Database/Mysql.php
Executable file
@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\Database;
|
||||
|
||||
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';
|
||||
|
||||
public static function id(): string
|
||||
{
|
||||
return 'mysql';
|
||||
}
|
||||
|
||||
public static function type(): string
|
||||
{
|
||||
return 'database';
|
||||
}
|
||||
|
||||
public function unit(): string
|
||||
{
|
||||
return 'mysql';
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user