class CI_DB_driver 
initialize()  
Returns:
TRUE on success, FALSE on failure Return type:
bool Initialize database settings, establish a connection to the database. 
db_connect($persistent = TRUE)  
Parameters:
$persistent (bool) – Whether to establish a persistent connection or a regular one  Returns:
Database connection resource/object or FALSE on failure  Return type:
mixed  Establish a connection with the database.  Note The returned value depends on the underlying driver in use.