Unable to connect to your database server using the provided settings. |
A Database Error Occurred
Unable to connect to your database server using the provided settings. Filename: core/CodeIgniter.php Line Number: 517 i have this error on my website can anyone help me and it was working correctly before thanks
The reason is right there on the second line: Unable to connect to your database server using the provided settings.
Try connecting to your database with something like PhpMyAdmin, using the same user/password you have in your configuration. The database may be unavailable at the moment (down), maybe the password has expired and you are required to change it. There may be several reasons for this to happen.
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/ (05-16-2021, 06:11 AM)includebeer Wrote: The reason is right there on the second line: Unable to connect to your database server using the provided settings. i check all what i need to do now to solve this problem
What have you done so far? We don't have a crystal ball, you need to give some informations...
CodeIgniter 4 tutorials (EN/FR) - https://includebeer.com
/*** NO support in private message - Use the forum! ***/
Here is some test code to see if your login is correct.
PHP Code: <?php What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Did you change anything in the codeigniter.php file in /system/core?
Because according to the message, if you are using version 3.1.1, line 517 has no relation to databases: PHP Code: /* <== line 510 |
Welcome Guest, Not a member yet? Register Sign In |