Android Question mysql connection problem

3394509365

Active Member
Licensed User
Longtime User
Hi I'm trying to connect to my sql server from android. I am at the beginning, that is, with the connection and I am already at rest
I wrote this with my credentials but it never initializes

Sub Button1_Click
Dim db As MYSQL
Dim L As List
db.setDatabase("LAPTOP-33333333","SQLTutorial","pippo","pippo")

L = db.Query("Select * FROM Products")
If L.IsInitialized=False Then
Msgbox("Records Not Found","Warning")
Return
Else
For i = 0 To L.Size
ListView1.AddSingleLine(L.Get(i))
Next
End If
End Sub
 

DonManfred

Expert
Licensed User
Longtime User
1. Use jdbcsql. See similar threads above
2. I guess you need to use the server ip instead of a pcname
 
Upvote 0

3394509365

Active Member
Licensed User
Longtime User
I use Basic4A I downloaded the JdbcSQL.jar library but I don't load it between libraries.
I have version 3.20 of Basic4Android

Does anyone have an example in my version?
 
Upvote 0

3394509365

Active Member
Licensed User
Longtime User
io non sono uno sviluppatore, ma un dilettante, e mi piace l' informatica non devo fare niente di commerciale.
Uso basic4android per le mie app personali.
Se non fosse indispensabile continuerei ad usare questo. Poi, se invece, per quello che devo fare mi serve per forza la nuova versione allora hai ragione, serve quella nuova. Cosa mi dici?
Grazie
 
Upvote 0
Top