def db_list(username=None, password=None, host=None, port=None):
conn = _connection(username=username, password=password, host=host, port=port)<EOL>cur = conn.cursor()<EOL>cur.execute('<STR_LIT>')<EOL>rows = cur.fetchall()<EOL>conn.close()<EOL>result = []<EOL>for row in rows:<EOL><INDENT>result.append(row[<NUM_LIT:0>])<EOL><DEDENT>return result<EOL>
returns a list of all databases on this server