Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Why do I keep getting this error why I try to open this php file? Database Error There was an error connecting to the database.

Why do I keep getting this error why I try to open this php file?

Database Error

There was an error connecting to the database.

The database must be installed as described in the appendix.

MySQL must be running as described in chapter 1.

Error message: SQLSTATE[HY000] [1045] Access denied for user 'mgs_user'@'localhost' (using password: YES)

I have the Apache, MySQL servers and PHP interpreter installed on my system. I can see from the XAMMP control panel that both servers have a status of running. Also, I can access and log into the phpMyAdmin tool. There aren't any port conflicts so I'm not sure what the problem is.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Handbook Of Relational Database Design

Authors: Candace C. Fleming, Barbara Von Halle

1st Edition

0201114348, 978-0201114348

More Books

Students also viewed these Databases questions

Question

a. Describe the encounter. What made it intercultural?

Answered: 1 week ago