Jump to content

cant upload 210_updatepack.sql to database [soloved]


kris914g

Recommended Posts

Posted

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

Posted

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.

Posted

but then im go to line 20 in i cant finde the place to edit it and the other line? maby you can edit it and reupload to the database projekt with the fixed error so other people dont got this error?

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