diff --git a/database_connection.py b/database_connection.py deleted file mode 100644 index d361475..0000000 --- a/database_connection.py +++ /dev/null @@ -1,15 +0,0 @@ -import mysql.connector - - -# Aufbau der verbindung zum Mysql Server - - -def db_connection(user, password, host, database): - connection = '' - try: - # Verbindung - Eingaben in der config.py bestimmen - connection = mysql.connector.connect(user=user, password=password, host=host, database=database) - except mysql.connector.Error as err: - print('Something went wrong', err) - print('Veruche deinen Mysql Server neu zu starten') - return connection