import psycopg2 try: conn = psycopg2.connect("postgresql://postgres:Etienne2025@localhost:5432/translator_api") print("CONNECTION_SUCCESS") conn.close() except Exception as e: print(f"CONNECTION_FAILURE: {e}")