79515314

Date: 2025-03-17 17:22:09
Score: 6 🚩
Natty:
Report link

As everything I tried provided no diagnostic information about the problem I went back to basics.

I assumed that Apache was the problem and did not have the correct permissions to access MySQL - even though it could run a .exe program. It has permission under the Local Systems account on my PC to access and run an .exe such as my c coded "Hello World" program which it did successfully.

So I gave Apache Administrators rights in:

Services->select Apache->select Log On->select 'This account-> and provide the Administrator username and password. Click Apply and stop and restart Apache.

And it worked. I can now access the MySQL data.

Thank you all for your help and suggestions.

Finally does anyone have any advice/concerns about giving Apache Administrator rights?

Reasons:
  • Blacklisted phrase (0.5): Thank you
  • Whitelisted phrase (-1): it worked
  • RegEx Blacklisted phrase (3): does anyone have any advice
  • Long answer (-0.5):
  • No code block (0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: MichaelD