Notice: Undefined variable: database in /var/www/ on line 30

Notice: Undefined variable: username in /var/www/ on line 31

Notice: Undefined variable: password in /var/www/ on line 32


    SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) (SQL: select COUNT(id) as `count`, CONCAT_WS(' ', DATE_FORMAT(publish_datetime, '%b'),YEAR(publish_datetime)) as monthyear, DATE_FORMAT(publish_datetime, '%m') as month, YEAR(publish_datetime) as year from `blogs` where `language_id` = 1 and `status` = Published and `deleted_at` is null group by `monthyear` order by `publish_datetime` desc)

Fatal error: Uncaught PDOException: SQLSTATE[HY000] [1045] Access denied for user ''@'localhost' (using password: NO) in /var/www/ Stack trace: #0 /var/www/ PDO->__construct('mysql:host=127....', NULL, NULL, Array) #1 /var/www/ Doctrine\DBAL\Driver\PDOConnection->__construct('mysql:host=127....', NULL, NULL, Array) #2 /var/www/ Illuminate\Database\Connectors\Connector->createPdoConnection('mysql:host=127....', NULL, NULL, Array) #3 /var/www/ Illuminate\Database\Connectors\Connector->createConnection('mysql:host=127....', Array, Array) #4 /var/www/ in /var/www/ on line 664