- Jun 6, 2020
- 11,559
- 4,422
Hi
I am just starting out with my B4A development (although I was a developer many years ago in various different languages). I would like to connect to a MySQL database that is running on a local server (my laptop, to begin with).
I have my PHP server running at 127.0.0.1:3306 (localhost) and if I run some PHP, I can connect and read data from a 'Tester' database with a table called 'Name' in it.
I would like to see if I can get an Android app to do the same thing.
I found @Star-Dust's excellent post here
The code compiles and executes, but it does not connect to my database, can anyone point me in the right direction? I know it's going to be something silly, but what am I doing wrong?
Thanks
B4X:
I am just starting out with my B4A development (although I was a developer many years ago in various different languages). I would like to connect to a MySQL database that is running on a local server (my laptop, to begin with).
I have my PHP server running at 127.0.0.1:3306 (localhost) and if I run some PHP, I can connect and read data from a 'Tester' database with a table called 'Name' in it.
I would like to see if I can get an Android app to do the same thing.
I found @Star-Dust's excellent post here
برای دیدن لینک ها باید ثبت نام کنید
which I am trying to modify to get it to work for me.The code compiles and executes, but it does not connect to my database, can anyone point me in the right direction? I know it's going to be something silly, but what am I doing wrong?
Thanks
B4X:
کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید