CodeIgniter Forums
Show database error exact details? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Show database error exact details? (/thread-65171.html)



Show database error exact details? - iridion2015 - 05-10-2016

Hi guys,

I got this error below,

A Database Error Occurred

Unable to connect to your database server using the provided settings.
Filename: third_party/community_auth/core/Auth_Controller.php
Line Number: 71


How do I know the exact error details?
How to display the exact database error connection details?

Thank in advance.


RE: Show database error exact details? - skunkbad - 05-10-2016

(05-10-2016, 03:03 PM)iridion2015 Wrote: Hi guys,

I got this error below,

A Database Error Occurred

Unable to connect to your database server using the provided settings.
Filename: third_party/community_auth/core/Auth_Controller.php
Line Number: 71


How do I know the exact error details?
How to display the exact database error connection details?

Thank in advance.

That's it right there. Your connection parameters are wrong. Make sure your username and password are correct.