Jump to content
  • 0

cant upload 210_updatepack.sql to database [soloved]


kris914g

Question

hey i have followed the mysql guide https://github.com/mangoswiki/Wiki/wiki/MangosZero%2018.1%20Build%20Part%204#part-4---setting-up-the-mangos-server-databases and i have completed all steps

but ig got a error then i was trying to upload 210_updatepack.sql but i got this error message

error

SQL query:

- - Startup fixes2 UPDATE `creature_template` SET `flags_extra` =2050,

`civilian` =1,

`MovementType` =2 WHERE `entry` =550;

MySQL returned: Documentation

#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '--Startup fixes 2

UPDATE `creature_template` SET `flags_extra` = 2050, `civilia' at line 1

Link to comment
Share on other sites

5 answers to this question

Recommended Posts

Therer are some missing spaces, therefore mysql tries to interpret the inline comments as sql commands instead of ignoring it.

Remove or replace the comments at the row 20 and 244 with

-- Startup fixes 2

-- Startup fixes

The space between -- and the following text is important.

Link to comment
Share on other sites

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