Das mysql error.log zeigt
[Warning] Aborted connection 320935 to db: '...' user: '...' host: '...' (Got an error reading communication packets)
Während die Client-Seite bekommt:
Lost connection to MySQL server at 'reading initial communication packet', system error: 111
Lost connection to MySQL server at 'reading authorization packet', system error: 0
and after a while: Host '...' is blocked because of many connection errors; unblock with 'mysqladmin flush-hosts'
Ich habe das MySQL-Handbuch darüber und viele andere Themen gelesen . Also habe ich einige Werte in my.cnf geändert
max_allowed_packet = 512M
connect_timeout = 60
net_read_timeout = 120
innodb_buffer_pool_size = 5G
Abfrageprotokoll einer unterbrochenen Verbindung angesehen:
22400 Connect user@host on dbname
22400 Query SELECT @@sql_mode
22400 Query SET SESSION sql_mode=''
22400 Query SET NAMES utf8
22400 Init DB dbname
22400 Init DB dbname
Überprüfter Tabellenstatus. Bindungsadresse ist die Server-IP, aber ich muss in der Lage sein, eine Verbindung von außen herzustellen.
Aborted_connects is 196