The code to read the news in the CI tutorial cannot run the display error (database.php is already configured)
A PHP Error was encountered
Severity:warning
Message:mysqli::real_connect (): (hy000/1045): Access denied for user ' root ' @ ' localhost ' (using Password:yes)
filename:mysqli/mysqli_driver.php
Line number:202
BackTrace:
file:d:\php\vc14\apache24\htdocs\ci\application\models\news_model.php
Line:5
Function:database
file:d:\php\vc14\apache24\htdocs\ci\application\controllers\news.php
Line:5
Function:model
file:d:\php\vc14\apache24\htdocs\ci\index.php
line:292
Function:require_once
A Database Error occurred
Unable to connect to your database server using the provided settings.
filename:core/loader.php
Line number:353
Reply content:
The code to read the news in the CI tutorial cannot run the display error (database.php is already configured)
A PHP Error was encountered
Severity:warning
Message:mysqli::real_connect (): (hy000/1045): Access denied for user ' root ' @ ' localhost ' (using Password:yes)
filename:mysqli/mysqli_driver.php
Line number:202
BackTrace:
file:d:\php\vc14\apache24\htdocs\ci\application\models\news_model.php
Line:5
Function:database
file:d:\php\vc14\apache24\htdocs\ci\application\controllers\news.php
Line:5
Function:model
file:d:\php\vc14\apache24\htdocs\ci\index.php
line:292
Function:require_once
A Database Error occurred
Unable to connect to your database server using the provided settings.
filename:core/loader.php
Line number:353
The password or the account number is wrong.
Database.php in the configuration to change localhost 127.0.0.1 try.