![]() |
[SOLVED] Unable to connect to your database server using the provided settings. -- In CentOS Server - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: [SOLVED] Unable to connect to your database server using the provided settings. -- In CentOS Server (/showthread.php?tid=55700) |
[SOLVED] Unable to connect to your database server using the provided settings. -- In CentOS Server - El Forum - 11-06-2012 [eluser]rochellecanale[/eluser] Hello guys just need a little help. My problem is I can't open my web project in CentOS server. I configure my database.php and config.php and set the proper URL's. Here's my configuration. In config.php Code: $config['base_url']= 'http://122.52.126.238/eMLM/'; In database.php Code: $active_group = 'default'; So where's my error? Whenever i try to access my page in 122.52.126.238/eMLM it shows the error. [SOLVED] Unable to connect to your database server using the provided settings. -- In CentOS Server - El Forum - 11-06-2012 [eluser]rochellecanale[/eluser] Ok i figured what's my problem. I shoul set the $db['default']['hostname'] = '122.52.126.238'; to $db['default']['hostname'] = '127.0.0.1'; |