Android MySQL Database Tutorial 3 – Connecting Android App to Online Mysql Database




How to Create MYSQL Database Using cPanel https://youtu.be/0tdFBqDsOqQ Searches related to android connect to online mysql database how to connect …

Original source


50 responses to “Android MySQL Database Tutorial 3 – Connecting Android App to Online Mysql Database”

  1. mysqli_connect():(HY000/220): Connection refused in conn.php on line 6
    mysqli_query() expects parameter 1 to be mysqli,boolean given in login.php on line 7
    mysqli_num_rows() expects parameter 1 to be mysqli_result,null given in login.php on line 8

    I am getting this errors, anybody please help!!!thanks in advance…
    $conn = mysqli_connect($server_name, $mysql_username, $mysql_password, $db_name);(this is my line 6 in conn.php)

    $result = mysqli_query($conn ,$mysql_qry); line 7
    if(mysqli_num_rows($result) > 0) line 8
    this is my line 7 and 8 in login.php)

  2. bonjour,merci pr ce cours;
    je voudrais savoir comment relier une database a mon applicationa ndroid map ;autrement dit , les coordonnees de mes positions sont stockers dans la base de donnee et je vousrais les afficher sur map .? comment faire? merci de me repondre

  3. Hi there, i have a working login/register android app with php and sqlite, (locally), i have an account with godday, i uploaded my server files, and changed the db connection, but i am unable to acess the database from my andriod phone. is that an issue with remote access or i must have done something wrong. thanks

  4. Great Video!
    Worked fine for me.
    One question though.
    Let's say I wanted to put the php files in a different directory.
    For example a directory called Android.
    How would I navigate there ?
    thx in advance!

  5. Will you please tell me some online server database website in which i can make my own database freely for testing purpose…if its of smaller size…doesn't matter….plz give me some website names.

  6. Hello Sir
    I purchased a economy hosting from godaddy And Now I want to connect it with php Now I followed you as you have explained in video but it did not work for me . Will you give me any other idea about connecting the database with php
    I watched your video that how to create database in cpanel
    You are an Indian I'm also an Indian.
    So You should help me in this because everyone help each other

  7. I am having a problem:
    When I connect the app to my local server it works well, when I connect the app to the server hosted on free we hosting it returns some garbage in the alert box. I created a dummy php script that posts the same data that the android app is posting and it worked fine. Can someone please help me?
    Thank you very much

  8. Hi I hope someone can help me . My webserver is hosted online but when I send the login info I get a long message that I think is sent as HTML format and basically it says "This site requires JavaScript to work please enable javascript in your browser" any idea how I can get the actual response e.g "login successful"

Leave a Reply