Android Question Upload recrods from SQLite to MySQL

Discussion in 'Android Questions' started by vdudukov, May 29, 2015.

  1. vdudukov

    vdudukov Member Licensed User

    Hello everyone.

    I am trying to sync my internal SQLite database with my MySQL database.
    I can download all records into SQLite from MySQL based on web, but i dont know how to upload all my records from SQLite to MySQL. I saw many posts here, but nothing about this.

    Anyway Is it possible ?


    I use httpjob to insert one record into MySQL.

    insert.download2("http://servername/server.php", Array As String ("action", "insert", "name", name.text, "lastname", lastname.text, "age", age.text))

    Last edited: May 29, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    If you can switch to RDC then it will be simpler and faster.

    The other option is to modify the php script to get all the records data and insert it into the database.
    Peter Simpson likes this.
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice