Skip to content

mysql connection never closed #12

@welyss

Description

@welyss

Hi, when i run it on dev, i kill the process, the program had finished, but on mysql server, the connection has been connected.
show processlist:
'1', 'wuysh', '127.0.0.1:61244', 'xxxx', 'Query', '0', 'init', 'show processlist'
'2', 'wuysh', '127.0.0.1:61245', 'xxxx', 'Sleep', '3', '', NULL
'5', 'wuysh', '127.0.0.1:61383', NULL, 'Binlog Dump', '633', 'Master has sent all binlog to slave; waiting for binlog to be updated', NULL
'6', 'wuysh', '127.0.0.1:61542', NULL, 'Binlog Dump', '510', 'Master has sent all binlog to slave; waiting for binlog to be updated', NULL
'7', 'wuysh', '127.0.0.1:61839', NULL, 'Binlog Dump', '326', 'Master has sent all binlog to slave; waiting for binlog to be updated', NULL
'8', 'wuysh', '127.0.0.1:62190', NULL, 'Binlog Dump', '88', 'Master has sent all binlog to slave; waiting for binlog to be updated', NULL

i had to kill the process manually. is there any other way to solve this program ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions