Error Establishing Database Connection

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Error Establishing Database Connection

Postby ajax » 07. February 2023 02:35

This problem seems to be different but it comes while I've been having the problem previously reported at https://community.apachefriends.org/f/viewtopic.php?f=16&t=82729.

In this case the website went from working fine to receiving a response that says nothing but "Error Establishing Database Connection". There was nothing changed on the website in question but there are other websites that have been accessed that are installed on this same instance of XAMPP. Unlike the situation in the topic referred to above there has NOT been any changing between instances of XAMPP. However, this is XAMPP 7.4.33 which worked just fine on 3 different reinstalled websites the day before this problem arose. The only thing that happened between things seeming to work fine and this error is that both MySQL and Apache were stopped using the XAMPP Control Panel. The computer was shutdown overnight. When testing resumed the next day the problem appeared.

Notably the message says "Error Establishing Database Connection". However, there is nothing in the mysql.error.log file that suggests there was any contact with MySQL. At the same time there is no problem accessing MySQL when using phpmyadmin by accessing the localhost on the server machine. When doing that there is a message that gets displayed on the bottom of the screen as follows:

The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why.
Or alternately go to 'Operations' tab of any database to set it up there.
ajax
 
Posts: 35
Joined: 14. December 2010 17:57
Operating System: Windows 2000 Professional

Re: Error Establishing Database Connection

Postby cb » 12. February 2023 19:50

For the "The phpMyAdmin configuration storage is not completely configured, some extended features have been deactivated. Find out why.
Or alternately go to 'Operations' tab of any database to set it up there." issue see https://www.elasticwebworks.com/how-to-fix-the-phpmyadmin-configuration-storage-is-not-completely-configured-some-extended-features-have-been-deactivated-to-find-out-why-click-here/.

I used to have this fairly regularly and have no idea why it occurred but haven't had it since I've been running MySQL as a service for the Mariadb corruption issue
cb
cb
 
Posts: 36
Joined: 11. June 2008 22:48


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 87 guests