MySQL Forums
Forum List  »  Newbie

Re: Can't connect to DB after reboot from PHP
Posted by: bulent ozgul
Date: October 27, 2021 01:39PM

Hi Peter,
Thanks for your reply but I guess you didn't get the point. The problem is not with the application. I just mentioned it just for clarify the situation. Lets forget everything.

I have a PHP page. It connects to a MySQL database and works fine. But if I restart the MySQL service my PHP page couldn't connect to the database.

I have to connect to the database with MYSQL workbench first after each restart. Then my PHP page starts to work again.

So in this case I don't think this problem is related with the PHP page or app or whatever. Because I never make change or do something on the web server side.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

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.