Unable to connect to your database |
[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?
[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 ‘*’@‘*’" |
Welcome Guest, Not a member yet? Register Sign In |