C
C
chrispsow2018-12-06 10:09:44
MySQL
chrispsow, 2018-12-06 10:09:44

How to create and link a database for Yii2?

I just started learning MySQL in connection with installing an application on a server with the Yii2 framework Installation
page:
5c08c9e524088574286905.jpeg
Created a database in mysql, conditionally asdfbase without tables
Also asdf user with pass password with access to all tables
I enter all the data accordingly.
Name: asdfbase
login: asdf
password: pass
Then it gives an error
array(1) { ["dberror"]=> array(1) { [0]=> string(111) "Unable to connect to database: asdf:pass: asdfbase:localhost could not find driver" } } app\controllers\SiteController::actionInstall Why
can it connect to the database?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question