原标题:SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘database.table’ doesnt exist
问题描文章来源站点https://www.yii666.com/述
数据库配置文件 config/database.php 已配置
前缀参数 prefix 已配置
使用模型的时候还是会出现错误信息如下
SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘database.table’ doesnt exist
查文章来源地址https://www.yii666.com/problem/14.html询方案
注意查看模型 model www.yii666.com类www.yii666.com文件,设置数据表名称的属性
属性 name 数据表名称(不带前文章来源地址https://www.yii666.com/problem/14.html缀)
属性 table 需要完整数据表名称
来源于:SQLSTATE[42S02]: Base table or view not found: 1146 Table ‘database.table’ doesnt exist