setDbPrefix ...
What you set is really the name of the database, right?
setDbName might be a better name for the function.