Welcome Guest, Not a member yet? Register   Sign In
How to get database config?

How to get database configuration parameters in controller?

if you take a look in the database/DB_driver.db
There is a list of variables that are available in the db object so I reckon
echo $this->db->username;
echo $this->db->password;

would work.

Theme © iAndrew 2016 - Forum software by © MyBB