From 288e58b1c5b0a66392b830a2b4f5d36fec1fe0f6 Mon Sep 17 00:00:00 2001 From: Sascha Date: Tue, 30 Aug 2022 11:26:09 +0200 Subject: [PATCH] change db server address --- bandwidth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bandwidth.py b/bandwidth.py index 7047e1f..d37d90b 100644 --- a/bandwidth.py +++ b/bandwidth.py @@ -8,7 +8,7 @@ def Average(lst): # mariadb mariadbConnection = mysql.connector.connect( - host="server0", port="3306", user="root", password="lungretter1", database="bandwidth") + host="woitschetzki.de", port="3306", user="root", password="lungretter1", database="bandwidth") mariadbCursor = mariadbConnection.cursor() mariadbCursor.execute("SELECT times, ping, download, upload FROM speedtest") mariadbResult = mariadbCursor.fetchall()