fix issues switching to mysql

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>