Answer the question
In order to leave comments, you need to log in
Yii2 / Why does it take 1 second to open a MySQL connection?
Actually, for a long time such a thing, on the local (win 8.1, openserver 5.2.2) yii2 opens a connection to the database for a very long time. Moreover, the complexity of the code is not important, if a database is required - it takes about 1 second to connect.
Could this be just Windows brakes, or are some specific Yii2 / MySQL settings required?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question