Hi I'm testing for a future app that is connected to a db on the net. I'm trying Mysql's free hosting. I registered and with the phpAdmin I created the db on the server, through a module of implementation the connection. I'm using a MySql library.
I launch the debug app and the connection is established, but when I try to launch a Relase, the connection does not establish itself. Is there a need for a php web service? do I have to enable some permissions? Could someone enlighten me? Thanks in advance.
I launch the debug app and the connection is established, but when I try to launch a Relase, the connection does not establish itself. Is there a need for a php web service? do I have to enable some permissions? Could someone enlighten me? Thanks in advance.
B4X:
Sub Activity_Create(FirstTime As Boolean)
'Do not forget to load the layout file created with the visual designer. For example:
Activity.LoadLayout("Main")
Connessione.ConnessioneVar
End Sub
'Code module
'Subs in this code module will be accessible from all modules.
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Dim MyHandler As MysqlHandler
Dim Result As ResultSet
End Sub
Sub ConnessioneVar
MyHandler.Initialize("xxxxxxxxx.net","xxxxxxxxx","xxxxxxxx","xxxxxxx")
If MyHandler.isConnected=False Then
Msgbox("Errore di conessione","Info")
Return
Else
Msgbox("Connessione Stabilita"& CRLF&"Connesso al Server online"&CRLF&"Database Pronto!","Info")
Return
End If
End Sub