kirilkirkov / Ecommerce-CodeIgniter-Bootstrap

Responsive, Multi-Vendor, MultiLanguage Online Store Platform (shopping cart solution)
MIT License
1.26k stars 942 forks source link

PHP Error and DB error #234

Closed becool2099 closed 1 year ago

becool2099 commented 1 year ago

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

Backtrace:

File: C:\xampp\htdocs\SHOP\application\third_party\MX\Loader.php Line: 109 Function: DB

File: C:\xampp\htdocs\SHOP\application\third_party\MX\Loader.php Line: 65 Function: initialize

File: C:\xampp\htdocs\SHOP\application\third_party\MX\Base.php Line: 55 Function: __construct

File: C:\xampp\htdocs\SHOP\application\third_party\MX\Base.php Line: 60 Function: __construct

File: C:\xampp\htdocs\SHOP\application\third_party\MX\Controller.php Line: 4 Function: require

File: C:\xampp\htdocs\SHOP\application\third_party\MX\Modules.php Line: 123 Function: include_once

File: C:\xampp\htdocs\SHOP\application\core\MY_Controller.php Line: 3 Function: spl_autoload_call

File: C:\xampp\htdocs\SHOP\index.php Line: 292 Function: require_once


A Database Error Occurred Unable to connect to your database server using the provided settings.

Filename: C:/xampp/htdocs/SHOP/application/third_party/MX/Base.php

Line Number: 55

kirilkirkov commented 1 year ago

@becool2099 Open the application/config/database.php and add your mysql credentials to the database