Android Question [Solved]Unable to connect to MySQL-Database on local net.

opus

Active Member
Licensed User
Longtime User
Hi,
I'm trying to connect to a MySQL-Database im my local network using the Tutorial https://www.b4x.com/android/forum/threads/connect-android-to-mysql-database-tutorial.8339/
I only get an "Internal Server Error" from Job.Result?

The File is found (when using it without the "php" in the starting line, the code of the php-file is returned)
Do I need to use a User that is allowed the connect from the device where the webserver and the database, or do I have to use as Usere that is allowed to connect from a remote IP? Tested both, same result?

I'm out of ideas?
 

opus

Active Member
Licensed User
Longtime User
Found it, reinstalled PHP5 with MySQLI, got an response after the (new) connect...

I'll go for those new commands (any command would be new for me in here).

Thanks both of you for the help.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Should I use an older PHP-Version or use these "mysqli methods"?
To be save (in future) i suggest switching from mysql to MySQLi Methods
 
Upvote 0
Top