Wednesday, June 27, 2012

database connection in cakephp

database connection in cakephp

1. Open app / config / database.php 


<?php
public $default 
= array(
        
'datasource' => 'Database/Mysql',
        
'persistent' => false,
        
'host' => 'localhost',
        
'login' => 'user',
        
'password' => '',  // here password
        
'database' => 'cakephp'// its my database name
        
'prefix' => '',
        
//'encoding' => 'utf8',
    
); ?>



1 comment:

  1. I was seeking for cake php programmer and set down up on your mail and i should state thanks for distributing such helpful information.

    ReplyDelete

If you Satisfied , Please Leave a comment