❌ Lỗi Kết Nối Database
Chi tiết lỗi:
SQLSTATE[HY000] [1049] Unknown database 'dragion'
✅ Cách khắc phục:
Database dragion chưa tồn tại!
- Mở phpMyAdmin (http://localhost/phpmyadmin)
- Click tab "Databases" ở trên
- Nhập tên database:
dragion - Chọn Collation:
utf8mb4_unicode_ci - Click nút "Create"
- Import file SQL nếu có (bảng account, player, v.v.)
Lưu ý: XAMPP mặc định dùng:
- Username:
root - Password:
(để trống) - Host:
localhost