More mysql_/DBO cleanup (almost complete!)