S
S
seddi2016-02-05 15:13:39
Yii
seddi, 2016-02-05 15:13:39

YII2 migrations not running?

Do not pass migrations (base on a remote server). I tried to register both ip and port, an error occurs

Exception 'yii\db\Exception' with message 'SQLSTATE[HY000] [2002] Попытка устано
вить соединение была безуспешной, т.к. от другого компьютера за требуемое время
не получен нужный отклик, или было разорвано уже установленное соединение из-за
неверного отклика уже подключенного компьютера.

there is a connection to the database and it works, what are the possible solutions, no one has tried it through the mySQL console, and how then at all?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
enchikiben, 2016-02-18
@EnChikiben

it is quite possible that the connection settings for the console application have not been made for you, are you using some kind of yii2 basic or yii2 advanced template?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question