Skip to content

Commit

Permalink
Debugging...
Browse files Browse the repository at this point in the history
  • Loading branch information
amochin committed Jul 20, 2023
1 parent 54dcba1 commit 27866b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DatabaseLibrary/connection_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def connect_to_database(self, dbapiModuleName=None, dbName=None, dbUsername=None
dbPort = dbPort or 1433
dbDriver = dbDriver or "{SQL Server}"
dbCharset = dbCharset or 'utf8mb4'
# Hope it works
logger.info('Connecting using : %s.connect(DRIVER=%s;SERVER=%s,%s;DATABASE=%s;UID=%s;PWD=***;charset=%s)' % (dbapiModuleName, dbDriver, dbHost, dbPort, dbName, dbUsername, dbCharset))
self._dbconnection = db_api_2.connect('DRIVER=%s;SERVER=%s,%s;DATABASE=%s;UID=%s;PWD=%s;charset=%s' % (dbDriver, dbHost, dbPort, dbName, dbUsername, dbPassword, dbCharset))
elif dbapiModuleName in ["excel"]:
Expand Down

0 comments on commit 27866b6

Please sign in to comment.