Jump to content

Import mangoszero_localised to mariadb database


liuubl1981

Recommended Posts

Posted

Hello All,

When I import MangosZero_Localised chinese local sql to my MariaDB database, two errors happened. They have been solved.

1. Chinese_Creature.sql file : it's encode in UTF-8-BOM, convert it to UTF-8, otherwise you will got a error report and only import part record.

[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SET NAMES 'utf8';
UPDATE locales_creature SET name_loc4='路径点',subname_l' at line 1
[Err] SET NAMES 'utf8';

2. Chinese_PageText.sql and Chinese_PageText_missing.sql : Table name in file is wrong, it should be "locales_page_text" not "locales_page_Text", you must change it to right word.

It would be nice if administrator update MaNGOS Extras GIT repo to solve this problem.

Thanks & Best Regards !

大家好!

当导入 MangosZero_Localised 中文本地文件到 MariaDB 数据库的时候,出现了2个错误,现在都已经解决了。

1. Chinese_Creature.sql file:文件的编码是 UTF-8-BOM,转换成 UTF-8 就行了,如果不转会有错误提示,并且只能导入部分记录。错误提示如下:

[Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'SET NAMES 'utf8';
UPDATE locales_creature SET name_loc4='路径点',subname_l' at line 1
[Err] SET NAMES 'utf8';

2. Chinese_PageText.sql 和 Chinese_PageText_missing.sql:文件内表的名字错误,应该是 "locales_page_text" 而不是 "locales_page_Text",必须更正。

希望管理员能够升级下 MaNGOS Extras 的 GIT 版本库。

谢谢!

  • madmax locked this topic

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use