MySQL BugFix

Fixed a bug where mySQL would crash on load, and not function properly.