View Full Version : permissions
01-25-2013, 08:01 PM
While setting up file sharing I guess I failed to check permission for one file. I'm at a loss as to how to change this. Any help ?
Unable to connect to database: Access denied for user 'root'@'localhost' (using password: YES)
01-25-2013, 10:22 PM
That's not an Apache or filesystem issue. That's a login failure to the dbms.
Double check the username and password for the root account for the (presumably) mysql login attempt. It is also possible (although IMO unlikely) that the root account is denied locally and granted remotely (just the logic of such makes absolutely no sense).
If you've forgotten your root password (try without one as well since the default is no password), follow the documentation here for resetting the root password (assuming you are using mysql): http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html
BTW, I should mention: never use root as your user account. Use a user account created for JUST the database in question.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.