Yii Framework Forum: error koneksi mysql - Yii Framework Forum

Jump to content

  • (2 Pages)
  • +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

error koneksi mysql Rate Topic: -----

#21 User is offline   fastcrash 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 245
  • Joined: 10-March 10
  • Location:South Jakarta

Posted 30 December 2010 - 11:16 PM

@rianday coba beberapa opsi ini di cek

1. apa sudah benar user & password databasenya?
2. coba lihat requirmentnya, apa sudah sesuai?
3. di linux terkenal case-sensitif

kalou liat dari errornya, jelas karena salah db, user atau password, but who knows..
0

#22 User is offline   nasrul 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 98
  • Joined: 14-April 09
  • Location:Sorowako - Indonesia

Posted 31 December 2010 - 12:56 PM

View Postrianday, on 30 December 2010 - 11:00 PM, said:

yup ane juga mendapatkan permasalahan yang sama nih.. kurang lebih error report nya seperti ini
DbTest::testConnection()
CDbException: CDbConnection failed to open the DB connection.
...../framework/db/CDbConnection.php:275
...../framework/db/CDbConnection.php:242
...../framework/db/CDbConnection.php:221
...../framework/base/CModule.php:363
...../framework/base/CModule.php:86
...../YII/trackstar/protected/tests/unit/DbTest.php:10


sebelumnya saya menggunakan linux ubuntu 9.10 dan lampp sebeagai web servernya.. mohon bantuannya untuk me-resolve masalah ini


kalau boleh quotekan connectionstring-nya dalam /protected/config/main.php atau sekalian parameter 'db'-nya?
0

#23 User is offline   nasrul 

  • Junior Member
  • Pip
  • Yii
  • Group: Members
  • Posts: 98
  • Joined: 14-April 09
  • Location:Sorowako - Indonesia

Posted 05 January 2011 - 09:33 AM

tologn attach parameter 'db' dalam /webapp/protected/config/main.php.
0

Share this topic:


  • (2 Pages)
  • +
  • 1
  • 2
  • 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