การแก้ปัญหาเบื้องต้นในการขึ้น Project แล้วติด Error
The error “SQLSTATE[HY000] [2002] Connection refused” means Laravel cannot connect to your MySQL database. Here’s how to fix it: 1. Check Your .env File Run: Verify the database settings: Save (CTRL+X, then Y, then Enter). 2. Test MySQL Connection Run: 3. Restart MySQL & Laravel Services Clear Laravel caches: 4. Check MySQL Status If MySQL…