[DiscordArchive] Hey guys, quick ? Do sql scripts in modules also get imported by the dbimport container or is it jus
[DiscordArchive] Hey guys, quick ? Do sql scripts in modules also get imported by the dbimport container or is it jus
Archived author: volek • Posted: 2024-09-02T05:17:57.160000+00:00
Original source
Hey guys, quick ? Do sql scripts in modules also get imported by the dbimport container or is it just root data folder?
Archived author: Agent • Posted: 2024-09-02T06:05:19.244000+00:00
Original source
I'm still learning, but I've found that any queries in modules will automatically be run by the worldserver the first time you boot it. You'll see it running in the output in worldserv.
Archived author: MoneyMade • Posted: 2024-09-02T06:33:26.410000+00:00
Original source
If thats so then each time i import something that requires me to import sql files with heidisql im doing a whole extra step and thats why im probably messing up all my files and have to restart from scratch
Archived author: MoneyMade • Posted: 2024-09-02T06:34:07.474000+00:00
Original source
Im trying to work with this player mod and each time i do sql i fuck something up and all i do is drag and drop and run sql
Archived author: MoneyMade • Posted: 2024-09-02T06:35:25.715000+00:00
Original source
and all i do is follow guides lol its frustraiting
Archived author: Agent • Posted: 2024-09-02T06:38:17.167000+00:00
Original source
I don't think that'll break anything. The SQL files are just setting up DBs and tables. Structure, not content. Running a query to create a table that already exists will be ignored.
Archived author: MoneyMade • Posted: 2024-09-02T06:39:04.170000+00:00
Original source
Well right now im running into a extra add of something that i had in an sql and it says there is more then one and my world server drops
Archived author: MoneyMade • Posted: 2024-09-02T06:39:32.944000+00:00
Original source
but it was a mandatory add it wasn't an optional one
Archived author: Agent • Posted: 2024-09-02T06:39:37.725000+00:00
Original source
Well regardless, I don't believe it's necessary to manually run the SQL files in a module, the worldserver will do it itself on next boot, I believe that's default behaviour of AC