M
M
Maxim Grechushnikov2015-12-05 19:43:29
MySQL
Maxim Grechushnikov, 2015-12-05 19:43:29

Yii2: How to restart connection to MySQL from php?

By analogy with this problem, I need to constantly crash the server on node.js? restart the connection to the database. How could this be realized?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
_
_ _, 2015-12-05
@AMar4enko

Well, if your MySQL connection falls off due to inactivity timeout, send some simple request once per unit of time in your infinite loop.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question