Closed Offgreenstum closed 10 years ago
Line: https://github.com/FPtje/DarkRP/blob/master/gamemode/modules/base/sv_data.lua#L186
Fix: Type the following code in your server-side console:
lua_run MySQLite.queueQuery("DROP TABLE TempJobCommands;")
Restart your server after.
Cause: The error is caused by the table not being dropped from the database for an unknown reason. It should drop.
A check should be added to DarkRP for these rare cases.
Yes
Though this really shouldn't be happening, and he'll probably come back with another error that occurs during the migrating progress.
I was right: #1661
Shouldn't the query use CREATE TABLE IF NOT EXISTS ? On 8/10/2014 1:49 AM, Bo Anderson wrote:
A check should be added to DarkRP for these rare cases.
— Reply to this email directly or view it on GitHub https://github.com/FPtje/DarkRP/issues/1659#issuecomment-58196572.
Isn't that already happening in the update?
Lua Error: Table 'TempJobCommands' already exists (CREATE TABLE TempJobCommands(id INT NOT NULL PRIMARY KEY, cmd VARCHAR(255) NOT NULL);)
This started a month after our server switched to mysql. It resets all jail positions and door groups on restart. The error is only shown when the server is starting up, and I've attempted disabling every other addon and still get the same result.