I have this code in index.php
try
{
$db = new PDO('mysql:host=localhost;dbname=bonacadb', 'zokam', '********');
}
catch (Exception $exc)
{
die('Database error, likely file not found or a permissions problem.');
}
I got:
Database error, likely file not found or a permissions problem.
I created database using phpMyAdmin. Any help ?