mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-28 20:17:42 +01:00
Added a what to do message for errorcode 1104
Affects issues: - Close #1587
This commit is contained in:
parent
af92a32ba1
commit
a4553f5541
@ -129,6 +129,9 @@ public class DBOpException extends IllegalStateException implements ExceptionWit
|
||||
context.related("SQLite file is corrupt.")
|
||||
.whatToDo("SQLite database is corrupt, restore database.db, .db-shm & .db-wal files from a backup, or repair the database: https://wordpress.semnaitik.com/repair-sqlite-database/.");
|
||||
break;
|
||||
case 1104:
|
||||
context.whatToDo("MySQL has too small query limits for the query. SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# (higher number)");
|
||||
break;
|
||||
case 1142:
|
||||
context.related("Missing privilege")
|
||||
.whatToDo("Grant the required privileges to your MySQL user (often 'REFERENCES' privilege is missing).");
|
||||
|
Loading…
Reference in New Issue
Block a user