2019-12-03 12:12:41 +01:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from manage_sql.manage_sql import HandleSql
|
|
|
|
|
2020-11-22 10:03:56 +01:00
|
|
|
MYSQL_CONN = HandleSql()
|
2019-12-03 12:12:41 +01:00
|
|
|
|
2019-12-03 14:58:19 +01:00
|
|
|
try:
|
2020-11-22 10:03:56 +01:00
|
|
|
check_return_bdd = MYSQL_CONN.conn()
|
2019-12-03 14:58:19 +01:00
|
|
|
except OperationalError as error:
|
|
|
|
print(error)
|
|
|
|
else:
|
|
|
|
print(check_return_bdd)
|