Android Question Connecting to mysql Database

brianwiz12

Active Member
Licensed User
Longtime User
Hello,

Just trying to do a simple mysql connection (using the mysql tutorial from Erel.

Im getting the following

** Activity (main) Create, isFirst = true **
** Activity (main) Resume **
*** Service (httputils2service) Create ***
** Service (httputils2service) Start **
ResponseError. Reason: javax.net.ssl.SSLHandshakeException: Handshake failed, Response:
javax.net.ssl.SSLHandshakeException: Handshake failed

I put the PHP file in the public_html file.
I confirmed the Database name, username, password and localhost is correct.

I confirmed in the php is set for mysqli_set_charset ($con , "utf8");

 

teddybear

Well-Known Member
Licensed User
Is it your app or php script connecting to database?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…