in app.php
’Datasources’ => [
‘default’ => [
]
‘financeiro’ => []
in my table/model
public static function defaultConnectionName()
{
return ‘financeiro’;
}
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘g2isoluc_prontuario.contasreceber’ doesn’t exist