How to fix PHP database connection? |
Hello everyone, I'm new here. Does anyone have any knowledge on how to resolve this error?
Error Message: A PHP Warning was encountered. Severity: Warning Message: mysqli::real_connect(): (HY000/1045): Access denied for user 'bi19110176'@localhost (using password: YES) Filename: mysqli/mysqli_driver.php Line Number: 201 Backtrace: File: C:\xampp\xampp\htdocs\webtech2021_BI19110176\application\controllers\Welcome.php Line: 25 Function: model File: C:\xampp\xampp\htdocs\webtech2021_BI19110176\index.php Line: 315 Function: require_once Additionally, a Database Error has occurred. Unable to establish a connection with the database server using the provided settings. Filename: C:/xampp/xampp/htdocs/webtech2021_BI19110176/system/database/DB_driver.php Line Number: 436 Here's my code: public function index() { //$this->load->database(); //$this->load->view('welcome_message'); $this->load->model('Customer', '', TRUE); kotlin $this->Customer->getCustomers(); } |
Messages In This Thread |
How to fix PHP database connection? - by WaryaUhayar - 07-05-2023, 02:52 AM
RE: How to fix PHP database connection? - by JustJohnQ - 07-05-2023, 03:47 AM
RE: How to fix PHP database connection? - by InsiteFX - 07-05-2023, 11:15 PM
|