Database guide
The Database module provides your Cherrycake application with a standardized interface to connect to database servers like MySQL and MariaDB.
Database providers
<?php
namespace Cherrycake;
$DatabaseConfig = [
"providers" => [
"main" => [
"providerClassName" => "DatabaseProviderMysql",
"config" => [
"host" => "localhost",
"user" => "user",
"password" => "password",
"database" => "cherrycake",
"charset" => "utf8mb4",
"cacheProviderName" => "engine"
]
]
]
];Modules that depend on Database
Last updated