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: