12) When I try to login I get an error saying; mysql connect() (function.mysql-connect): Access denied for user 'root'@'localhost' (using password: YES)?
From OrangeHRM
This could be a result of incorrect MySQL server username/password set in the Conf.php. The Conf.php is located in /orangehrm/lib/confs/ and should be set as;
$this->dbhost = '<IP address of MySQL server>';
$this->dbport = '<port no, of MySQL server>';
$this->dbuser = '<username>'; the user name of the account you created
$this->dbpass = '<password>'; the user name of the account you created
$this->smtphost = '<SMTP server DNS or IP address>'; the DNS or IP address
If the usernames and passwords given are correct in Conf.php, it could be that the user does not have required rights for OrangeHRM database. To create a user with required rights execute this command in MySQL prompt;
grant all privileges on hr_mysql.* to '<username>'@'%' identified by '<password>'
OR
grant all privileges on hr_mysql.* to '<username>'@'localhost' identified by '<password>'
