ConnectionPool_getConnection no response
Issue #10
closed
os: ubuntu 14.04 x32 mysql: 5.5.43-0ubuntu0.14.04.1
when stop mysqld(not kill),ConnectionPool_getConnection no response, no error. then continue mysqld, ConnectionPool_getConnection ok.
how resolve?
tks!
Comments (4)
-
reporter -
repo owner This is actually the expected behaviour. If you try this and run with debug enabled
ZBDEBUG = true;
you will see something like this in the console,Failed to create connection -- Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)
. The method itself just returns a NULL Connection object which indicate that something might be wrong and that a retry might work later. I'm unsure if an exception should be thrown in this case, though I can see how it might be the expected behaviour. -
repo owner - changed status to closed
-
repo owner - removed version
Removing version: 3.0 (automated comment)
- Log in to comment
code version 2015-05-12