mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
[fix] Correct count print in mysql_conn
This commit is contained in:
@@ -37,7 +37,7 @@ def mysql_conn(retry):
|
|||||||
user='root',
|
user='root',
|
||||||
passwd=__salt__['pillar.get']('secrets:mysql')
|
passwd=__salt__['pillar.get']('secrets:mysql')
|
||||||
)
|
)
|
||||||
log.debug(f'Connected to MySQL server on {mainip} after {i} attempts.')
|
log.debug(f'Connected to MySQL server on {mainip} after {i+1} attempts.')
|
||||||
|
|
||||||
db.query("""SELECT 1;""")
|
db.query("""SELECT 1;""")
|
||||||
log.debug(f'Successfully completed query against MySQL server on {mainip}')
|
log.debug(f'Successfully completed query against MySQL server on {mainip}')
|
||||||
|
|||||||
Reference in New Issue
Block a user