Quantcast
Channel: WampServer - WampServer English
Viewing all articles
Browse latest Browse all 3177

Error establishing a database connection at localhost (no replies)

$
0
0
Wampserver 3 v3.0.4
Apache 2.4.18
PHP 7.0.4
MySQL 5.7.11
Green Wampserver icon in tray

Error: Error establishing a database connection
I receive this error on all wordpress folders in www folder.

I have been sick and have not opened Wamp for over a year. Since then, I upgraded to Windows 10.

Upon trying to open Wamp, I could not get Apache to work. I changed World Wide Web Publishing Service to manual in services.msc and was able to get Apache working. I now have a green icon in the tray.

When I click on localhost from the wamp icon it takes me to Windows IIS page and the address bar states that I am at localhost.

I am able to log into phpMyAdmin and see all my databases. I can see all my folders when I click on wwwdirectory.

I simply cannot connect any of my website databases from localhost.

I use Windows defender antivirus and I use windows firewall.
Wamp is installed at C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Wampserver32

Viewing all articles
Browse latest Browse all 3177

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>