T
T
trueneutral2011-09-12 12:30:50
MySQL
trueneutral, 2011-09-12 12:30:50

PHP/mysqli loses connection

Good afternoon,

There was a problem on the production server last night. Mysqli first cursed in the logs:
(HY000/2013): Lost connection to MySQL server at 'reading authorization packet', system error: 0

And then was banned by the server for too many errors
(HY000/1129): Host 'server' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'

The upgrade itself from mysql to mysqli was about two weeks ago, and everything decided to fall on the night from Saturday to Sunday, and today it was repeated for an encore.

Nobody faced such behavior?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vasily, 2011-09-12
@VasiliyIsaichkin

It is possible that the server does not have time to work out due to the small connect_timeout.
What is its meaning? Try to increase it.
Here is a more detailed description of this case.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question