From 3c3f8b93db3ee148492f2aefa59d53194c3662e7 Mon Sep 17 00:00:00 2001 From: "ishak jmilou.ishak" Date: Tue, 17 Dec 2024 13:58:18 +0100 Subject: [PATCH] changed data i want to execute --- src/Python/flask/web/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Python/flask/web/app.py b/src/Python/flask/web/app.py index 6d34408..18c12b1 100644 --- a/src/Python/flask/web/app.py +++ b/src/Python/flask/web/app.py @@ -65,7 +65,7 @@ def phpmyadmin_passthrough(path): def database(): try: with cnx.cursor() as cur: - cur.execute("SELECT * FROM kobuki_data") + cur.execute("SELECT DATABASE()") rows = cur.fetchall() # Haal alle rijen op uit het resultaat return str(rows) except Exception as e: