Closed Daedalus-code closed 3 months ago
Thanks! but Im getting this now
- Applying 509_ruins_of_ahnqiraj.sql ... SUCCESS
- Applying 529_arathi_basin.sql ... SUCCESS
- Applying 531_temple_of_ahnqiraj.sql ... SUCCESS
- Applying 533_naxxramas.sql ... SUCCESS
29 Instance files applied successfully
> Trying to process last world (mangos) CORE updates
- Applying z2823_01_mangos_displayid_probability.sql ... SUCCESS
- Applying z2824_01_mangos_model_unification.sql ... FAILED!
>>> ERROR 1064 (42000) at line 3: 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 'COLUMN `modelid_other_team` TO `modelid_alternative`' at line 1
Press space to continue...````
What version of MySQL are you using?
Probably 5.7 if it doesn't work, seems like this syntax is new with 8.0, tho it's been in use in PostgreSQL and SQLite for ages... I'm gonna submit a PR to use the old syntax
mysql Ver 15.1 Distrib 10.3.39-MariaDB, for debian-linux-gnueabihf (armv7l) using readline 5.2 edit: doing updates now.. edit: meh..
- Applying z2823_01_mangos_displayid_probability.sql ... SUCCESS
- Applying z2824_01_mangos_model_unification.sql ... FAILED!
>>> ERROR 1064 (42000) at line 3: 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 'COLUMN `modelid_other_team` TO `modelid_alternative`' at line 1````
Created a PR that should solve the issue for old database servers. Please consider updating to a DB that is not EOL https://mariadb.org/about/#maintenance-policy
manually fixing this makes me go further to this:
- Applying scriptdev2.sql ... SUCCESS
- Applying spell.sql ... SUCCESS
> Trying to apply ACID file ... SUCCESS
> Trying to apply cmangos_custom.sql ... FAILED!
>>> ERROR 1054 (42S22) at line 128: Unknown column 'ModelId2' in 'field list'
There have been updates in the meantime. You need to update your core, merge my latest core PR locally and merge my db PR locally, then it should work
Core updates only after failed new install and it started.. :P
@Daedalus-code can this be closed?
@Daedalus-code Closing tentatively. If you still have issues please reopen.
Core Version
mangos-classic
Support Request Details
Updating database with 'Install' command I end up with this: