PDO Connection Error - Where is password for localhost passe

OrangeHRM installation experiences

Moderator: Admin

PDO Connection Error - Where is password for localhost passe

Postby ronherman » Mon Dec 27, 2010 4:31 am

Made progress by linking php.ini

pdo_mysql.default_socket=/opt/lampp/var/mysql/mysql.sock

Now where do i find the password in the code


500 | Internal Server Error | PerformanceServiceException
PDO Connection Error: SQLSTATE[28000] [1045] Access denied for user 'orangehrm'@'localhost' (using password: YES)
stack trace

* at ()
in SF_ROOT_DIR/apps/orangehrm/lib/model/performance/service/PerformanceReviewService.php line 316 ...
313. return false;
314. }
315. } catch (Exception $e) {
316. throw new PerformanceServiceException($e->getMessage());
317. }
318.
319. }
* at PerformanceReviewService->isReviewer(null)
in SF_ROOT_DIR/apps/orangehrm/modules/performance/actions/actions.class.php line 503 ...
500.
501. $performanceReviewService = $this->getPerformanceReviewService();
502.
503. return $performanceReviewService->isReviewer($empId);
504.
505. }
506.
* at performanceActions->isLoggedReviewer(null)
ronherman
 
Posts: 4
Joined: Mon Dec 20, 2010 10:15 pm

Re: PDO Connection Error - Where is password for localhost passe

Postby madhusanka » Sat Mar 24, 2012 5:10 pm

DB password should be entered in these 2 files:

lib/confs/Conf.php
symfony/config/databases.yml
madhusanka
 
Posts: 166
Joined: Mon Aug 11, 2008 1:47 pm


Return to Setup

Who is online

Users browsing this forum: No registered users and 0 guests