Moved to mysql database

Errors began with database migration. Paths are no longer working.
Migration cleared existing data. Some fixes for paths. Errors persist
with defined variables since migration.