Android Question How to Login remote SQL server With Username and Password

LaryLee

Member
Licensed User
Longtime User
I need to get the results from remote Sql Server ( such as Mysql).
How colud I initialize the "Job" object with the username and password after the site address ?
Thanks
 

LaryLee

Member
Licensed User
Longtime User
If the server expects the username and password as URL parameters then you can just add them to the URL.
Thanks, I follow a reply of yours , the code such as
Job1.username = "xxxxxx"
Job1.Password="yyyyyy"
Job1.download....
But I still got the error message below :

Error. Url=http://211.72.206.7/mysql Message=Internal Server Error
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>

what's this ?
 
Upvote 0
Top