N
N
Nikolai Novosad2016-01-07 15:52:03
Yii
Nikolai Novosad, 2016-01-07 15:52:03

Yii2 No database connection?

Hello.
When transferring an application to yii2-advanced on hostinger.ru, I get the following error:

Database Exception - yii\db\Exception
SQLSTATE[28000] [1045] Access denied for user 'u356225831_meet'@'10.2.1.44' (using password: YES)

Caused by: PDOException
SQLSTATE[28000] [1045] Access denied for user 'u356225831_meet'@'10.2.1.44' (using password: YES)
in /home/u356225831/public_html/vendor/yiisoft/yii2/db/Connection.php at line 579

Database 'rolled up'. In common/config/main-local.php I registered the connection settings.
Why am I getting this error?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
romy4, 2016-01-07
@nik_neman

there is no such user / wrong password / no access to the requested database/table.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question