I install Ampps in Windows server 2012 but some times server stop and after Mysql restart again work correctly again when I do some thing in website again it stop and just waiting remain and the following error is shown:
Warning: PDO::__construct() [pdo.--construct]: [2002] No connection could be made because the target machine actively refused it. (trying to connect via tcp://localhost:3306) in C:\Program Files (x86)\Ampps\www\objective\database.class.php on line 27
Notice: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it. in C:\Program Files (x86)\Ampps\www\objective\database.class.php on line 32