mysql access denied error

Technical Information on MySQL database

Moderator: Admin

mysql access denied error

Postby maharajg » Wed May 28, 2008 7:25 pm

First time im running orange hrm and im getting this error? pl. help.

Warning

mysql_connect() [function.mysql-connect]: Access denied for user 'root'@'localhost' (using password: NO)

Technical Details
Encountered the problem in C:\Program Files\OrangeHRM\2.2.2.2\htdocs\orangehrm-2.2.2.2\lib\dao\MySQLClass.php Line 53

System Environment

* OrangeHRM : 2.2
* PHP : 5.2.4
* MySQL Client : 5.0.45
* Memory limit : 32M
* Maximum session lifetime : 1440

Please note
The error was logged in the OrangeHRM log located in C:\Program Files\OrangeHRM\2.2.2.2\htdocs\orangehrm-2.2.2.2/lib/logs/logDB.txt
maharajg
 
Posts: 1
Joined: Wed May 28, 2008 7:24 pm

Password wrong

Postby nilufer » Thu Jun 05, 2008 12:46 am

Hi maharajg,

The password saved to access Mysql server is wrong. You can edit the configuration file lib/confs/Conf.php and edit the line which says

$this->dbpass = 'xxxxxx';


replace the xxxxxx with the correct password for root in Mysql. Then try accessing orangehrm. This should let you in without the previous error.

Regards,
nilufer
 
Posts: 102
Joined: Mon Feb 18, 2008 5:16 pm

Re: mysql access denied error

Postby jamesjohn09 » Wed Mar 10, 2010 10:18 am

thanks Nilufer, I also faced this error and your solution really helped me. Thanks.
jamesjohn09
 
Posts: 1
Joined: Wed Mar 10, 2010 9:49 am
Location: USA

Re: mysql access denied error

Postby tadross » Thu Jul 22, 2010 1:17 pm

Dear Tech,
I have encountered this error when i was installing the Orange HRM and i don't know how could be solved??.




Error
NO database Connection found


Technical Details
Can't connect to MySQL server on 'localhost' (10061) MySQL Error # :2003


System Environment
•OrangeHRM : 2.5
•PHP : 5.2.8
•MySQL Client : 5.1.30
•Memory limit : 128M
•Maximum session lifetime : 1440

Please note
The error was logged in the OrangeHRM log located in C:\Program Files\OrangeHRM\2.5.0.5\htdocs\orangehrm-2.5.0.5/lib/logs/logDB.txt
tadross
 
Posts: 1
Joined: Thu Jul 22, 2010 1:10 pm


Return to MySQL

Who is online

Users browsing this forum: No registered users and 1 guest

cron