I am new in agile toolKit and using lastest version.
I am trying to connect with mysql database. I receiving an error “PDOException: SQLSTATE[HY000]  No such file or directory”. What I need to do to fix this error?
$app = new \atk4\ui\App(‘Invoice Application’);
$app -> initLayout(‘Centered’);
//$db = $app->dbConnect(‘mysql://root:@localhost/invoice_db’);
$dsn = ‘mysql:host=localhost;port=3306;dbname=invoicedb’;
$db = new \atk4\data\Persistence_SQL($dsn, ‘root’, ‘12345678’);
Even Mysql is ON and all credentials is fine…