forked from grifon/python-module-mysql
14 lines
251 B
Python
14 lines
251 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from manage_sql.manage_sql import HandleSql
|
|
|
|
MY_SQL_CONN = HandleSql()
|
|
|
|
try:
|
|
check_return_bdd = MY_SQL_CONN.sql_checkcon()
|
|
except OperationalError as error:
|
|
print(error)
|
|
else:
|
|
print(check_return_bdd)
|