Answer the question
In order to leave comments, you need to log in
How to run a website on Yii 2 on OpenServer?
Hello.
Task: launch a site on Yii 2 on a local OpenServer server (on my PC)
Problem: the following error pops up:
My actions are step by step:
1) I copied all the contents of the site from the server to OpenServer/OpenServer\domains\Site.ru
2) Launched. Judging by the error, I realized that you need to enter the password in the specified file, lines. It didn't lead to anything working.
Folder content:
Answer the question
In order to leave comments, you need to log in
Error connecting to database. There is no print_db user that was on the server. openserver has a default user root with a blank password. So you need to open common/config/main-local.php (most likely there) and fix the user and password there.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question