- Jun 6, 2020
- 11,559
- 4,422
Quick question. I have a B4A application that connects to a MariaDB database. I had the connection string coded into the Process Globals sub as
Private const rdcLink As String = "
I figured with my mariadb hostname it wouldn't be a problem... It was.... When I moved everything over to a production environment, the tablets couldn't find the database. I scrambled and hard-coded the ip address as "
So I'd like to be able to read a configuration file that can be edited on the tablet to change the location of the database. Would this be a KVS2 solution? Or is KVS2 not editable outside of the program. Just a text file sitting someplace?
Thanks
Private const rdcLink As String = "
برای دیدن لینک ها باید ثبت نام کنید
"I figured with my mariadb hostname it wouldn't be a problem... It was.... When I moved everything over to a production environment, the tablets couldn't find the database. I scrambled and hard-coded the ip address as "
برای دیدن لینک ها باید ثبت نام کنید
", recompiled, redeployed to the 14 tablets and was ok, until the next time. So I'd like to be able to read a configuration file that can be edited on the tablet to change the location of the database. Would this be a KVS2 solution? Or is KVS2 not editable outside of the program. Just a text file sitting someplace?
Thanks
برای دیدن لینک ها باید ثبت نام کنید