2008年01月15日 星期二 16:40
×öÁËÒ»¸ö³ÌÐò£¬Óõ½MySQLdb£¬Õâ¸ö³ÌÐòÐèÒªÒ»Ö±±£³Ö¶ÔÊý¾Ý¿âµÄÁ¬½Ó£¬Ã»ÓÐÔÚÎĵµÖп´µ½ÈçºÎÅжϵ±Ç°Êý¾Ý¿âÁ´½ÓÓÐЧµÄº¯Êý£¿ ÓÐûÓÐÓùýµÄÐֵܸø¸öÌáʾ¡£ -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080115/13571d74/attachment.html
2008年01月15日 星期二 20:13
ÓÃÊý¾Ý¿âÁ¬½Ó³ØDbutils£¬ºÃÏñ¿ÉÒÔ×Ô¶¯ÖØÁ¬µÄ¡£ ÔÚ08-1-15£¬kun xu <coonxu在gmail.com> дµÀ£º > > ×öÁËÒ»¸ö³ÌÐò£¬Óõ½MySQLdb£¬Õâ¸ö³ÌÐòÐèÒªÒ»Ö±±£³Ö¶ÔÊý¾Ý¿âµÄÁ¬½Ó£¬Ã»ÓÐÔÚÎĵµÖп´µ½ÈçºÎÅжϵ±Ç°Êý¾Ý¿âÁ´½ÓÓÐЧµÄº¯Êý£¿ > ÓÐûÓÐÓùýµÄÐֵܸø¸öÌáʾ¡£ > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080115/9181b05e/attachment.html
2008年01月15日 星期二 21:09
connection.ping() On 1/15/08, luo roger <roger.maillist在gmail.com> wrote: > > ÓÃÊý¾Ý¿âÁ¬½Ó³ØDbutils£¬ºÃÏñ¿ÉÒÔ×Ô¶¯ÖØÁ¬µÄ¡£ > > ÔÚ08-1-15£¬kun xu <coonxu在gmail.com> дµÀ£º > > > > ×öÁËÒ»¸ö³ÌÐò£¬Óõ½MySQLdb£¬Õâ¸ö³ÌÐòÐèÒªÒ»Ö±±£³Ö¶ÔÊý¾Ý¿âµÄÁ¬½Ó£¬Ã»ÓÐÔÚÎĵµÖп´µ½ÈçºÎÅжϵ±Ç°Êý¾Ý¿âÁ´½ÓÓÐЧµÄº¯Êý£¿ > > ÓÐûÓÐÓùýµÄÐֵܸø¸öÌáʾ¡£ > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080115/44b86874/attachment.htm
2008年01月15日 星期二 21:14
>>> help(MySQLdb.connection.ping) Help on method_descriptor: ping(...) Checks whether or not the connection to the server is working. If it has gone down, an automatic reconnection is attempted. This function can be used by clients that remain idle for a long while, to check whether or not the server has closed the connection and reconnect if necessary. New in 1.2.2: Accepts an optional reconnect parameter. If True, then the client will attempt reconnection. Note that this setting is persistent. By default, this is on in MySQL<5.0.3, and off thereafter. Non-standard. You should assume that ping() performs an implicit rollback; use only when starting a new transaction. You have been warned. On 1/15/08, leopay <leopay在gmail.com> wrote: > > connection.ping() > > On 1/15/08, luo roger <roger.maillist在gmail.com> wrote: > > > > ÓÃÊý¾Ý¿âÁ¬½Ó³ØDbutils£¬ºÃÏñ¿ÉÒÔ×Ô¶¯ÖØÁ¬µÄ¡£ > > > > ÔÚ08-1-15£¬kun xu <coonxu在gmail.com> дµÀ£º > > > > > > ×öÁËÒ»¸ö³ÌÐò£¬Óõ½MySQLdb£¬Õâ¸ö³ÌÐòÐèÒªÒ»Ö±±£³Ö¶ÔÊý¾Ý¿âµÄÁ¬½Ó£¬Ã»ÓÐÔÚÎĵµÖп´µ½ÈçºÎÅжϵ±Ç°Êý¾Ý¿âÁ´½ÓÓÐЧµÄº¯Êý£¿ > > > ÓÐûÓÐÓùýµÄÐֵܸø¸öÌáʾ¡£ > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese在lists.python.cn > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080115/a3f2bbc1/attachment.html
2008年01月16日 星期三 17:37
лл¸÷λ£¬Ö®Ç°¶¼ÊÇÓÃÅ×Òì³£µÄ·½Ê½´¦ÀíÊý¾Ý¿â¿ÉÄܳöÏÖÁ¬½Ó¶Ï¿ªµÄÎÊÌ⣬ÏÖÔÚºÃÁË£¬ÔٴθÐл¡£ ÔÚ08-1-15£¬leopay <leopay在gmail.com> дµÀ£º > > >>> help(MySQLdb.connection.ping) > Help on method_descriptor: > > ping(...) > Checks whether or not the connection to the server is > working. If it has gone down, an automatic reconnection is > attempted. > > This function can be used by clients that remain idle for a > long while, to check whether or not the server has closed the > connection and reconnect if necessary. > > New in 1.2.2: Accepts an optional reconnect parameter. If True, > then the client will attempt reconnection. Note that this setting > is persistent. By default, this is on in MySQL<5.0.3, and off > thereafter. > > Non-standard. You should assume that ping() performs an > implicit rollback; use only when starting a new transaction. > You have been warned. > > > On 1/15/08, leopay <leopay在gmail.com> wrote: > > > > connection.ping() > > > > On 1/15/08, luo roger <roger.maillist在gmail.com > wrote: > > > > > > ÓÃÊý¾Ý¿âÁ¬½Ó³ØDbutils£¬ºÃÏñ¿ÉÒÔ×Ô¶¯ÖØÁ¬µÄ¡£ > > > > > > ÔÚ08-1-15£¬kun xu <coonxu在gmail.com> дµÀ£º > > > > > > > > ×öÁËÒ»¸ö³ÌÐò£¬Óõ½MySQLdb£¬Õâ¸ö³ÌÐòÐèÒªÒ»Ö±±£³Ö¶ÔÊý¾Ý¿âµÄÁ¬½Ó£¬Ã»ÓÐÔÚÎĵµÖп´µ½ÈçºÎÅжϵ±Ç°Êý¾Ý¿âÁ´½ÓÓÐЧµÄº¯Êý£¿ > > > > ÓÐûÓÐÓùýµÄÐֵܸø¸öÌáʾ¡£ > > > > > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese在lists.python.cn > > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > > Unsubscribe: send unsubscribe to > > > > python-chinese-request在lists.python.cn > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese在lists.python.cn > > > Subscribe: send subscribe to python-chinese-request在lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request在lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > python-chinese > Post: send python-chinese在lists.python.cn > Subscribe: send subscribe to python-chinese-request在lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request在lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -------------- 下一部分 -------------- Ò»¸öHTML¸½¼þ±»ÒƳý... URL: http://python.cn/pipermail/python-chinese/attachments/20080116/0708452a/attachment.htm
Zeuux © 2024
京ICP备05028076号