Welcome Guest, Not a member yet? Register   Sign In
Change DB config
#1

Hi everyone,

I try to make a login to my DB (directly to the DB, not to a table containing users)

But I don't know how could I change the configuration in the default database

For example this could be the begining : 

PHP Code:
$db['default'] = array(
    
'dsn'    => '',
    
'hostname' => $tnsname,
    
'username' => '',
    
'password' => '',
    
'database' => '',
    
'dbdriver' => 'oci8',
    
'dbprefix' => ''

And then in the controller, change the $username and $passeword with variables so I can login.

Can anyone help me in this case ? any tips ?
Reply


Messages In This Thread
Change DB config - by arber.smajli - 07-31-2018, 05:55 AM
RE: Change DB config - by php_rocs - 07-31-2018, 10:06 AM
RE: Change DB config - by arber.smajli - 08-01-2018, 11:42 PM
RE: Change DB config - by php_rocs - 08-02-2018, 08:16 AM
RE: Change DB config - by InsiteFX - 08-02-2018, 03:49 AM
RE: Change DB config - by arber.smajli - 08-02-2018, 03:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB