Skip to content

Commit 8199da6

Browse files
author
jschneider
committed
added example db.cfg file to connection docs
1 parent 90c523b commit 8199da6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/DatabaseLibrary/connection_manager.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,14 @@ def connect_to_database(self, dbapiModuleName=None, dbName=None, dbUsername=None
4848
4949
The `dbConfigFile` is useful if you don't want to check into your SCM
5050
your database credentials.
51+
Example db.cfg file
52+
[default]
53+
dbapiModuleName=pymysqlforexample
54+
dbName=yourdbname
55+
dbUsername=yourusername
56+
dbPassword=yourpassword
57+
dbHost=yourhost
58+
dbPort=yourport
5159
5260
Example usage:
5361
| # explicitly specifies all db property values |

0 commit comments

Comments
 (0)