[eluser]Bas Vermeulen[/eluser]
From what kind of file are you trying to load your database lib? Should be from a controller. If you use your database a lot in your application I'd advice to auto load it:
@ application / config / autoload.php
Code:
$autoload['libraries'] = array('database');
All database lib files are located in the folder /system/database.