B4X FEED Trouble connecting to MySQL database on local server

اطلاعات موضوع

درباره موضوع در تاریخ, در دسته b4xfeed ایجاد شده و آغاز کننده آن practicalsoftمی باشد و موضوع آن: Trouble connecting to MySQL database on local server است. این موضوع تا کنون 60 بازدید کننده و, 0 پاسخ داشته و 0 بار پسندیده شده...
نام دسته b4xfeed
نام موضوع Trouble connecting to MySQL database on local server
آغاز کننده موضوع practicalsoft
تاریخ شروع
پاسخ‌ها
0
بازدیدها
60
پسندها
0
آخرین ارسال توسط PracticalSoft
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 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:

کد:
محتوای بلوک کدها در دسترس شما نیست. برای مشاهده بلوک کدها، وارد انجمن شوید یاثبت نام کنید



 

عقب
بالا