13 lines
230 B
Python
13 lines
230 B
Python
import mysql.connector
|
|
|
|
conn = mysql.connector.connect(
|
|
host="10.9.0.1",
|
|
port=3306,
|
|
user="Michel",
|
|
password="wuP^wu&6xjx61bh*kjS^",
|
|
database="Sondes"
|
|
)
|
|
|
|
print("Connexion MariaDB OK via WireGuard")
|
|
|
|
conn.close() |