Cara Setting Database Di Niagahoster




Cara Setting Database Di Niagahoster

-Mysql Databases

Create Databases

ex : u7611810_photography


Add New User 

ex : u7611810_sance

pass : u7611810_photography_san


Add User To Database

User : ...

Database : ...


Settingan Di Codeigniter

controller dan model harus awal kapital,berikut config database codeigniter


$db['default'] = array(

'dsn' => '',

'hostname' => 'localhost',

'username' => 'u7611810_sance',

'password' => 'u7611810_photography_san',

'database' => 'u7611810_photography',

'dbdriver' => 'mysqli',

'dbprefix' => '',

'pconnect' => FALSE,

'db_debug' => (ENVIRONMENT !== 'production'),

'cache_on' => FALSE,

'cachedir' => '',

'char_set' => 'utf8',

'dbcollat' => 'utf8_general_ci',

'swap_pre' => '',

'encrypt' => FALSE,

'compress' => FALSE,

'stricton' => FALSE,

'failover' => array(),

'save_queries' => TRUE

);





















 

Cara Setting Database Di Niagahoster Cara Setting Database Di Niagahoster Reviewed by Leo on 08:15 Rating: 5

No comments