报了一个model的错误
我是新手,最近在自学CI3.14,我照着手册做,报了一个错误,求指教A PHP Error was encountered
Severity: Warning
Message: mysqli::real_connect(): (HY000/1044): Access denied for user ''@'localhost' to database 'ci3_test'
Filename: mysqli/mysqli_driver.php
Line Number: 201
Backtrace:
File: E:\leo\learnCI3\application\models\news_model.php
Line: 13
Function: database
File: E:\leo\learnCI3\application\controllers\news.php
Line: 14
Function: model
File: E:\leo\learnCI3\index.php
Line: 315
Function: require_once
A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: E:/leo/learnCI3/system/database/DB_driver.php
Line Number: 436 有人知道这个是什么问题吗?坐等答案,谢谢 数据库连接出错,检查一下数据库配置是否正确 hdb898 发表于 2017-3-26 11:50
数据库连接出错,检查一下数据库配置是否正确
谢谢,果然是数据库出错
页:
[1]