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 = "http://mariadb:17178/rdc"
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 "http://192.168.1.51:17178/rdc", 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
Private const rdcLink As String = "http://mariadb:17178/rdc"
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 "http://192.168.1.51:17178/rdc", 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