![]() |
database problem - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: database problem (/showthread.php?tid=32668) |
database problem - El Forum - 07-30-2010 [eluser]Miguel Diaz[/eluser] I am trying to connect to my database in my server and it is sending me the error. A Database Error Occurred Unable to connect to your database server using the provided settings. I put all the information but I tried all I know and it is not working I already double check password and username and put a conexion with the same information and it is not working. Do I have to write something extra when you put and IP instead of localhost this is my connection. $db['default']['hostname'] = "127.0.0.1"; $db['default']['username'] = "Premio"; I hope someone could help me please. database problem - El Forum - 07-30-2010 [eluser]InsiteFX[/eluser] Change hostname to localhost now 127.0.0.1 See if that woks! InsiteFX |