JModelDatabase::setDb

Set the database driver.