Okay, now that that is settled, the question to ask is: what do you want your database class to do?
Some database classes are thin wrappers for the underlying database API. PDO is an example of this. Other database classes (try to) abstract away the differences between database vendors. ADOdb is an example of this. Yet other database classes really are storage classes that form the storage layer in a script, and thus are specific to that script.