Urgent - A Database Error Occurred

Hi Support Team

I hope you are doing well. I am using invoiceplane. Please check the below url.


A Database Error Occurred
Unable to connect to your database server using the provided settings.
Filename: C:\inetpub\wwwroot\meempay\system\database\DB_driver.php
Line Number: 125

Facing this error don’t know why
My .htaccess file

RewriteEngine On RewriteBase /meempay RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ index.php/$1 [L]


but nothing works for me.
Please help me to solve this issue as i am trying to solve this from many days.

Thanks & regards

We need more information in order to investigate the issue. Can you post your log file?


which log files. Please specify any name

First of all, which version do you use? This is very important, otherwise we cant help you in any way.

Please let me know where can i find the version i am using the old version which i downloaded previous year.

Well… the version can be found in the system settings in the version tab.

However, I won’t support an 1-year old version, you may update also to improve overall security of the application.

I will update it later actually i integrated payment gateway with this.
I am using version 1.4.8
Can you please check

This is the window server where i am getting this error. but the host name and database connection is working well
http://www.uvaykay.com/phpinfo.php just tested through the demo php file.

Otherwise i have it on another domain but there its working well facing issue only here.

Please help me

Please open the file application/config/database.php and double-check your database credentials in that file.

i checked so many time credentials are ok

The error seems pretty self explanatory. Either A) your MySQL server is offline or B) Your MySQL credentials in the config file is wrong. Personally, I would move from IIS, its not really nice for internet production environments. Since you are using Windows you probably prefer a GUI, rather try something like XAMPP/WAMP.