PDOException

Description

SQLSTATE[28000] [1045] Access denied, unknown user 'vykupzzlata'

Source File

/nfsmnt/hosting1_1/d/b/db1423ac-0394-46bc-9d41-c4f428bdec62/vykup-zlomkoveho-zlata.sk/web/core/db.php (31)

0029:         if (!isset(self::$instance[$iInstanceId])){
0030:             $DSN = config::$db_driver . ':host=' . config::$db_server . ';dbname=' . config::$db_name;
0031: self::$instance[$iInstanceId] = new PDO($DSN, config::$db_user, config::$db_pass, array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8", PDO::ATTR_PERSISTENT => true));
0032: self::$instance[$iInstanceId]->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); 0033: } 0034: return self::$instance[$iInstanceId];

Stack Trace

#0 /nfsmnt/hosting1_1/d/b/db1423ac-0394-46bc-9d41-c4f428bdec62/vykup-zlomkoveho-zlata.sk/web/core/db.php(31): PDO->__construct('mysql:host=loca...', 'vykupzzlata', 'cab3otopp9m7op1...', Array)
#1 /nfsmnt/hosting1_1/d/b/db1423ac-0394-46bc-9d41-c4f428bdec62/vykup-zlomkoveho-zlata.sk/web/core/db_session.php(27): db::getInstance()
#2 [internal function]: db_session->read('9b860b05c3efd65...')
#3 /nfsmnt/hosting1_1/d/b/db1423ac-0394-46bc-9d41-c4f428bdec62/vykup-zlomkoveho-zlata.sk/web/www/index.php(43): session_start()
#4 {main}
2019-05-21 16:47