본문 바로가기
FrameWork/CodeIgniter

[CodeIgniter ERROR] Unable to connect to your database server using the provided settings.

by 백룡화검 2010. 4. 24.

ttp://codeigniter.com/forums/viewthread/47428/

 

Posted: 11 January 2007 05:59 PM   [ Ignore ]   [ # 2 ]  
Senior Member
Total Posts:  485
Joined  2006-09-14

What version of MySQL are you using? 4.1 and above require the mysqli driver. Try:

$db['default']['dbdriver'] = "mysqli";

 Signature 

Code Igniter 1.5.4 / CentOS 5 / PHP 5.2.3 / Apache 2.2.2 / MySQL 5.0.27

 

 

Unable to connect to your database server using the provided settings. 에러 발생시

mysqli 로 고쳐 줘야 함..