edit login
This commit is contained in:
parent
ee6575df5a
commit
9b3fd192bc
4
main.py
4
main.py
@ -12,8 +12,8 @@ driverFrom = {'lxc': '/opt/microsoft/msodbcsql18/lib64/libmsodbcsql-18.0.so.1.1'
|
|||||||
|
|
||||||
server = 'sis.ustu\SQLEXPRESS'
|
server = 'sis.ustu\SQLEXPRESS'
|
||||||
database = 'DepartmentDatabaseContext'
|
database = 'DepartmentDatabaseContext'
|
||||||
username = 'sa'
|
username = 'tgbot'
|
||||||
password = 'isadmin'
|
password = 'kafISbot'
|
||||||
cnxn = pyodbc.connect(
|
cnxn = pyodbc.connect(
|
||||||
'DRIVER=' + driverFrom.get('lxc') + ';SERVER=' + server + ';' +
|
'DRIVER=' + driverFrom.get('lxc') + ';SERVER=' + server + ';' +
|
||||||
'DATABASE=' + database + ';UID=' + username + ';PWD=' + password + ';Encrypt=no')
|
'DATABASE=' + database + ';UID=' + username + ';PWD=' + password + ';Encrypt=no')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user