|
|
|
|
@ -8,7 +8,7 @@ def Average(lst):
|
|
|
|
|
|
|
|
|
|
# mariadb
|
|
|
|
|
mariadbConnection = mysql.connector.connect(
|
|
|
|
|
host="server0", user="root", password="lungretter1", database="bandwidth")
|
|
|
|
|
host="server0", port="3306", user="root", password="lungretter1", database="bandwidth")
|
|
|
|
|
mariadbCursor = mariadbConnection.cursor()
|
|
|
|
|
mariadbCursor.execute("SELECT times, ping, download, upload FROM speedtest")
|
|
|
|
|
mariadbResult = mariadbCursor.fetchall()
|
|
|
|
|
|