Hunted down a MySQL deadlock (needed to close connections in mysqldb.py before dropping primary keys). Added createEmptyDbs.sh to build a fresh Edx and EdxPrivate db with all required tables. Warns caller that existing Edx/EdxPrivate will be dropped. Added defineMySQLProcedures.sh, which installs all stored functions and procedures used by manageEdxDb.py and friends. Switched LoadInfo to use local time, and ISO format in load_date_time column. Simplified executeCSVLoad.sh, and removed some phases that caused unnecessary index construction. In edxTrackLogJSONParser.py now comments out the re-enabling of key consistency checks in the .sql files from transforms. A leading header comment informs users of this. Advantage: the executeCSVLoad.sh script now loads everything, and only *then* re-enables keys. I realized that key re-enabling also recreates the respective index. Also in the output .sql files: Account transfer to EdxPrivate at end of one load now uses REPLACE INTO instead of INSERT INTO.