Massive unit test vs MySQL

Skip Montanaro skip at pobox.com
Tue Sep 9 11:13:10 EDT 2003


    Richard> Yes, that is the problem, but it is not clear how to release
    Richard> the connections.  They get released immediately when the script
    Richard> terminates.  I am wondering of it is a gc problem.

How about you explicitly tack an explicit

    exit;

onto the end of the input?

    % mysql -u concerts -h localhost -p concerts
    Enter password: 
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Your MySQL connection id is 440197 to server version: 3.23.41-log

    Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

    mysql> exit;
    Bye

Skip





More information about the Python-list mailing list