Home >Backend Development >PHP Tutorial >yii gii有关问题,帮忙了

yii gii有关问题,帮忙了

WBOY
WBOYOriginal
2016-06-13 10:20:02761browse

yii gii问题,帮忙了
库里有tbl_project这个表 ,想生成ar类一直提示这个错误,是啥问题呢?




------解决方案--------------------
配置文件没有改错了吧。配置文件有配置数据链接的地方。要正确配置。
配置文件是你项目的配置文件\protected\config\main.php

参考
http://www.yiiframework.com/doc/guide/1.1/en/topics.gii
------解决方案--------------------
table_prefix 要填上的,然后写上表的全名试试看

Statement:
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