Are you facing the following issue why trying to access your site

"PDOException: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. in lock_may_be_available() (line 167 of C:\xampp\htdocs{project}\includes\lock.inc)."

This is due to mysql server not running. You can fix this issue by starting MySQL in XAMPP

  1. Open XAMPP
  2. Goto MySQL and click on start

Hope this helps !!