Home > PHP Framework > YII > body text

Where is the yii database configuration file?

Release: 2020-03-12 13:21:51
Original
4200 people have browsed it

Where is the yii database configuration file?

yii database configuration file:

The public database is in /common/config/main-local.php

Generally configure this one That’s it. If you don’t use the same frontend and backend,

The frontend is in /frontend/config/main-local.php

The backend is in /backend/config/main-local.php

Configuration database:

First find common>config>main-local.php in the current directory

Open main-local.php for modification, and change yii2advanced to your own database , mine is the newly created yii2;

Where is the yii database configuration file?

Recommended related tutorials: yii framework

The above is the detailed content of Where is the yii database configuration file?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
yii
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!