Selecting directory for my database

I’m beginner and maybe someone can help me. I need to read the data from my database but I need every time to copy in the same folder with my app. Is there any possibility to add my path of my database ?


From what I can gather, I believe that what you’re looking for is a way to code a relative path. If so, then I think that you should find this article to be of interest: