diff --git a/_mysql.c b/_mysql.c index 5b81c79d..dee05b4e 100644 --- a/_mysql.c +++ b/_mysql.c @@ -573,8 +573,8 @@ _mysql_ConnectionObject_Initialize( NULL } ; int connect_timeout = 0; #ifdef HAVE_MYSQL_OPT_TIMEOUTS - int read_timeout = 0; - int write_timeout = 0; + int read_timeout = 30; + int write_timeout = 60; #endif int compress = -1, named_pipe = -1, local_infile = -1; char *init_command=NULL,