Luffy Posted December 7, 2017 at 01:11 AM Share Posted December 7, 2017 at 01:11 AM Pessoal, eu tava tentando adicionar uma query no mysql, mas o acentos sempre bugam. Se eu adiciono manualmente eles ficam normal, mas por query não. Alguém saberia me dizer o que preciso mudar pra que funcione? Link to comment Share on other sites More sharing options...
juniorsilva Posted December 8, 2017 at 09:52 PM Share Posted December 8, 2017 at 09:52 PM necessário update de varbinary para varchar ... ALTER TABLE player.item_proto MODIFY name varchar(24) NOT NULL DEFAULT 'Noname' COLLATE latin1_swedish_ci; ALTER TABLE player.item_proto MODIFY locale_name varchar(24) NOT NULL DEFAULT 'Noname' COLLATE latin1_swedish_ci; ALTER TABLE player.mob_proto MODIFY name varchar(24) NOT NULL DEFAULT 'Noname' COLLATE latin1_swedish_ci; ALTER TABLE player.mob_proto MODIFY locale_name varchar(24) NOT NULL DEFAULT 'Noname' COLLATE latin1_swedish_ci; Obs: faça backup antes de usar a query..... 1 Link to comment Share on other sites More sharing options...
Luffy Posted December 8, 2017 at 10:36 PM Author Share Posted December 8, 2017 at 10:36 PM Muito Obrigado, @juniorsilva Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now