2017-12-05 Fred Gleason <fredg@paravelsystems.com>

* Changed the default [mySQL] 'Engine=' directive value to 'MyISAM'.
This commit is contained in:
Fred Gleason 2017-12-06 15:09:01 -05:00
parent d29aaf619d
commit 41ee4346e1
2 changed files with 6 additions and 0 deletions

View File

@ -16417,3 +16417,6 @@
updated when the log was unlinked.
2017-12-05 Fred Gleason <fredg@paravelsystems.com>
* Changed the default [mySQL] 'Engine=' directive value to 'MyISAM'.
2017-12-06 Fred Gleason <fredg@paravelsystems.com>
* Added a note regrading package dependencies to the header of
'scripts/engine_conv.py'.

View File

@ -4,6 +4,8 @@
#
# Convert a Rivendell database to use a different MySQL table engine
#
# This script require the 'mysql-connector-python'
#
# (C) Copyright 2017 Fred Gleason <fredg@paravelsystems.com>
#
# This program is free software; you can redistribute it and/or modify
@ -41,6 +43,7 @@ def GetDbCredentials():
def OpenDb():
creds=GetDbCredentials()
print('P/W: '+creds[1])
return mysql.connector.connect(user=creds[0],password=creds[1],
host=creds[2],database=creds[3],buffered=True)