A
A
actimel332015-12-11 21:04:33
PHP
actimel33, 2015-12-11 21:04:33

Yii2 PDOException who knows how to deal with this?

Good people, tell me how to overcome PDOException, so I'm trying to go to " localhost/backend/web " and it shows me something like this "SQLSTATE[HY000] [1049] Unknown database 'yii2advanced'"! I myself see the name of this database for the first time! a completely different database is registered in the common/config/db.php directory, and it is friends with frontendom, but for some reason it doesn’t want to be with backendom! Guess who's been through this before?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Immortal_pony, 2015-12-12
@Immortal_pony

vegibit.com/how-to-install-the-advanced-template-i...

A
actimel33, 2015-12-11
@actimel33

it would be so simple, it would probably not be interesting, but why then does the frontend work with the same database that is registered in common/config/db.php and the backend should also work with it, the rule is the same for everyone

E
Eugene, 2015-12-11
@Nc_Soft

So create a database

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question