![]() |
Unable to connect to your database - 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: Unable to connect to your database (/showthread.php?tid=26529) |
Unable to connect to your database - El Forum - 01-15-2010 [eluser]OregonGold[/eluser] EDIT: i just tried something from another post and im getting Not connected : Access denied for user 'SYSTEM'@localhost (using password: NO) system? Hi, just curious if there im missing something here, Im using wamp on my pc while i learn CI, I just got to the database part and I cant seem to connect. im getting this error: A Database Error Occurred Unable to connect to your database server using the provided settings. Code: $db['default']['hostname'] = "localhost"; autoload.php Code: $autoload['libraries'] = array('database'); i noticed there is no Database.php file in th elibraries directory, should there be? Unable to connect to your database - El Forum - 01-16-2010 [eluser]bretticus[/eluser] You wouldn't get that error if you didn't have a mysql client that PHP could hook into. This is not so much a CodeIgniter issue. You need to setup database privileges properly. Take a peek at: http://www.geeklog.net/faqman/index.php?op=view&t=44 Or google "Access denied for user ‘*’@‘*’" |