MySQL Forums
Forum List  »  Newbie

Can't connect to DB after reboot from PHP
Posted by: bulent ozgul
Date: October 27, 2021 08:59AM

Hi,

First of all this is my first post. I Googled nearly for about 1 month but couldn't find a solution.

I installed HESK on my server. It is a free ticket system. It runs on windows. The codes are written in PHP.

The problem:
When MySQL restarts the website couldn't connect to the database.

Error message:
'Access denied for user 'root'@'localhost' (using password: YES)'

To solve this problem:
When I connect once with a user from Mysql workbench all the PHP pages can connect to the DB.

So this means after each reboot I have to login once from workbench and then everything works fine.

Is there a missing configuration, or is it a bug?

Operation System: Windows 2012 R2 Standard
MySQL: 8.0.27 x64
web server: iis
web page language: PHP

Thank you

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.