fix dbh params not being passed to mysql