Yii Framework Forum: Yii Blog Demo App - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Yii Blog Demo App Rate Topic: -----

#1 User is offline   Tenbe 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 22-December 13

Posted 22 December 2013 - 03:31 PM

Hi,
I would like to use my own MySQL database for the Blog Demo App.
Can someone please tell me know how and where to give the credentials of my created MySQL Database.

Thanx
0

#2 User is offline   Ahamed Rifaideen 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 383
  • Joined: 14-February 13
  • Location:chennai, tamilnadu

Posted 24 December 2013 - 02:02 AM

goto your blog app inside protected/config/main.php and read the configuration file and just uncomment it the db array() that uses mysql and comment it the db array() that uses sqlite database.
My Blog - Yii Learner
0

#3 User is offline   Ahamed Rifaideen 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 383
  • Joined: 14-February 13
  • Location:chennai, tamilnadu

Posted 24 December 2013 - 02:03 AM

goto your blog app inside protected/config/main.php and read the configuration file and just uncomment it the db array() that uses mysql and comment it the db array() that uses sqlite database.
My Blog - Yii Learner
0

#4 User is offline   Tenbe 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 5
  • Joined: 22-December 13

Posted 25 December 2013 - 06:21 PM

thanx a lot Ahamed.
It worked like a charm :rolleyes:
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users