1.

How to connect with database in Yii?

Answer»

In any Yii APPLICATION, you need to open the main.php file in the protected/config/main.php folder. Now SEARCH for the "DB" parameter. In this parameter, you can add the DATABASE NAME, hostname, username, and password for your database server.



Discussion

No Comment Found