mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-07-09 17:07:44 +02:00
2017-12-05 Fred Gleason <fredg@paravelsystems.com>
* Changed the default [mySQL] 'Engine=' directive value to 'MyISAM'.
This commit is contained in:
parent
d29aaf619d
commit
41ee4346e1
@ -16417,3 +16417,6 @@
|
|||||||
updated when the log was unlinked.
|
updated when the log was unlinked.
|
||||||
2017-12-05 Fred Gleason <fredg@paravelsystems.com>
|
2017-12-05 Fred Gleason <fredg@paravelsystems.com>
|
||||||
* Changed the default [mySQL] 'Engine=' directive value to 'MyISAM'.
|
* 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'.
|
||||||
|
@ -4,6 +4,8 @@
|
|||||||
#
|
#
|
||||||
# Convert a Rivendell database to use a different MySQL table engine
|
# 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>
|
# (C) Copyright 2017 Fred Gleason <fredg@paravelsystems.com>
|
||||||
#
|
#
|
||||||
# This program is free software; you can redistribute it and/or modify
|
# This program is free software; you can redistribute it and/or modify
|
||||||
@ -41,6 +43,7 @@ def GetDbCredentials():
|
|||||||
|
|
||||||
def OpenDb():
|
def OpenDb():
|
||||||
creds=GetDbCredentials()
|
creds=GetDbCredentials()
|
||||||
|
print('P/W: '+creds[1])
|
||||||
return mysql.connector.connect(user=creds[0],password=creds[1],
|
return mysql.connector.connect(user=creds[0],password=creds[1],
|
||||||
host=creds[2],database=creds[3],buffered=True)
|
host=creds[2],database=creds[3],buffered=True)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user