You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
pytqt/examples/SQL/dbpar.py

23 lines
456 B

# sql examples default database parameter
# you can create a local_dbpar.py module with definitons
# of your own parameters to overrule these defaults
#DB_DRIVER = "TQPSQL7"
DB_DRIVER = "TQMYSQL3"
# list of servers
DB_HOSTNAMES = ["localhost"]
# list of databases
DB_DATABASES = ["testdb"]
# database user id
DB_USERNAME = ""
# database password
DB_PASSWORD = ""
# remove this in your local_dbpar.py
try:
from local_dbpar import *
except:
pass