def METHOD_NAME():
    global action
    action = True
    if not file_output:
        fh = sys.stdout
    else:
        fh = open(file_output, 'w')
    if selected_dbs:
        fh.write('Single database ' + selected_dbs[0] + ' specified\n')
        return
    start_lmfdb_connection()
    dbs = jdbs.get_lmfdb_databases()
    fh.write('\n')
    fh.write('Known good databases\n')
    fh.write('--------------------\n')
    for db in dbs:
        fh.write(db+'\n')
    if file_output: fh.close()