#Quick question about collations
1 messages · Page 1 of 1 (latest)
Line from ps mdt
ALTER TABLE players CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci
Let my try to update it, I do not have the latest version since I got the owner to change from QBCore to Qbox. Will update that, thanks for the note
yep
Updated to the latest version of ps-mdt, reran the sql from the latest release of ps-mdt, still getting the same error.
The colation is diffrent, I'm just not sure if I can change it
change the general one to unicode. That alter table is incorrect.
And yes, it will make qbx_core run incorrectly
That's the query from ps-mdt, my current collation is the unicode one
files from ps-mdt latest release, doesn't seem to have that file if you meant that its supposed to be in the mdt files
ps-mdt doesn't work, if the collations are general
ummm
what are you downloading
...
qbx_core doesn't use general at all, only unicode
my baaaaad
youre good
this is what you need
thats a good thing
ik :DDDDD
but in this case, they didnt push a new release when they accepted my pr
they should have made it a release, sad
If you look at qbx_core at the sql file, if I was converting from QBCore, it doesn't replace the collations for everything, only for the citizenid
Ok. We should change that but it probably doesn't break anyone's server... yet.
Everything seems to function, but the collation is set to unicode only when the table gets created, you see it :D
Second thing with the sql, the server already has alot of information there, so I can't delete the tables, would have to backup, delete all the mdt files, add the ones from qbox.sql and then re-add the information, this could also be changed
Maybe I'm incorrect with this, give me a minute to try
Yep, not changed with the current sql, would need to backup all of the information and then run the sql