aliatayee / Attendance_Management_System

Attendance Management System is a Laravel based web application which keeps track of employee hours by either using ZKTecho finger print device or manual attendance sheet.
https://ams.alihost.co/
165 stars 81 forks source link

I am facing an issue #5

Closed dev21wp closed 2 years ago

dev21wp commented 2 years ago

Assalam o Alikum SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it (SQL: insert into users (name, email, password, updated_at, created_at) values (Admin, admin@ams.com, $2y$10$4A.8uZbRJ9qu1FWPKFZ0qOgVXOPEuNtHzp2491P9WUuaUSCZ7QfXC, 2022-08-19 11:40:16, 2022-08-19 11:40:16))

mango2001 commented 2 years ago

Solution: Go to config/database.php, look for this 'port' => env('DB_PORT', '3306'), then you take the port number then you copy paste in your .env file DB_PORT=3306

dev21wp commented 2 years ago

Thank you Soo Much Issue Resolved