hello i have followed these instructions and setup things
but problem is that ,At DB Creation thing i got error and also at moqui server not connecting
and just my docker container is created and instance is runing successful
If any one setup this can you tell me what extra things i have to do because its not working as i expected
Is the error message you mentioned (âon clicking DB CREATE i got error that root@localhost permission deniedâ) from MySQL? It may be that the user in MySQL does not have permission to create databases. IIRC MySQL made some sort of default config change a while back that I ran into when working on something else, and this could be the same issue.
That test wouldnât reveal much, leaves two questions: is Moqui setup to use the ârootâ user? when you login with the root user are you able to create a database?
Either way, to get rubber on the road and make progress on something like this, the actual error would be very helpful⌠we need to know what generated the error and in which context, and the exact text of the error message because itâs too easy to lose important details in a summary of the error.
Hi @rohit, I apologize for the directness, but that question on StackOverflow is very difficult to pick apart. I would recommend going back to the basics of defining an issue:
what did you do (sufficient to reproduce or at least understand the relevant context)
what happened
how is what happened different from what you expected
The only problem statement I can see in there is " all thing it did but still i canât access my server which is working inside the container". More information about what you tried and exactly what happened, or as much as you know, and at different layers (browser, nginx-proxy logs, etc), would make it easier for others to see what might be going on.
Iâd also recommend avoiding assumptions without good proof, like: âall containers are in same network of type bridge and this has to workâ. A big part of what I do when helping people debug issues is question their assumptions because if they are stuck, the assumptions may be the reason they are stuck and not making progress understanding the issue (and understanding the issue is necessary before it is possible to discuss solutions).
Another thing that might be helpful is to look at the nginx-proxy docs to understand how it is configured and works, and step through each part to verify. That is the âback to basicsâ strategy when youâre not sure what might be the issue.
To start with what Iâm guessing is the issue: following a single request, do you see in the nginx-proxy containerâs log, and in the moqui.local containerâs log? What does does it look like in the browserâs network tool tab (or whatever youâre using to access the moqui server)? That information would be helpful for others, or might even help you see what the issue is on your own.
I have faced same issue , my issue get resolved with application run with root permissions and database user creation done before containers running and then use same user in databases connection .