[DiscordArchive] Hmm does Eluna module access database directly? Last time I was compiling it seemed like some lua-re
[DiscordArchive] Hmm does Eluna module access database directly? Last time I was compiling it seemed like some lua-re
Archived author: Foe • Posted: 2022-04-27T10:34:23.487000+00:00
Original source
It still uses the credentials specified in the config depending on the type of query method you use
Archived author: Foe • Posted: 2022-04-27T10:35:01.929000+00:00
Original source
WorldDBQuery uses world credentials, CharDBQuery uses char credentials
Archived author: Foe • Posted: 2022-04-27T10:35:36.573000+00:00
Original source
If the credential does not have the create database permission, it will obviously fail when trying to create said custom DB
Archived author: Foe • Posted: 2022-04-27T10:35:54.652000+00:00
Original source
And depending on your global credentials it may not be able to create or access tables in said database
Archived author: Foe • Posted: 2022-04-27T10:36:43.158000+00:00
Original source
You can always change the database in the script as well to point to your char and world database
Archived author: Foe • Posted: 2022-04-27T10:36:51.375000+00:00
Original source
And/or*
Archived author: Grandold • Posted: 2022-04-27T10:57:54.357000+00:00
Original source
ye definitely Honey, also love the zonedebuffs one ^^ actually using that as an example for my first ever lua script
btw, there are couple typos there that I saw on install and I'm quite new to git(hub) too, would I basicly have to fork it, add the changes and then do some merge request or so to add a fix? Or just add it as issue?
Archived author: Grandold • Posted: 2022-04-27T11:00:33.601000+00:00
Original source
Ye thanks, that is exactly what I thought ^^ and was kinda wondering why is it then trying to make a new db and still assuming u are using the credentials for another db. But it's working as it is as I dont need the ticket management anyways
Archived author: Honey • Posted: 2022-04-27T11:05:14.216000+00:00
Original source
Cheers
Archived author: Honey • Posted: 2022-04-27T11:05:40.609000+00:00
Original source
Well, sure you can make an issue or fork it and send a PR.