Host local database using ubuntu for external applications












0















I am trying to build an Android application and I need to install a database to store all my data like users, passwords etc. This is the first time when I do something like this and I dont have a clue about what i should do. I have seen that there is a way to use lamp but seems quite complicate and i am not familiar to php. Is there any other solution?










share|improve this question























  • would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial

    – Rinzwind
    Feb 28 '15 at 19:29
















0















I am trying to build an Android application and I need to install a database to store all my data like users, passwords etc. This is the first time when I do something like this and I dont have a clue about what i should do. I have seen that there is a way to use lamp but seems quite complicate and i am not familiar to php. Is there any other solution?










share|improve this question























  • would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial

    – Rinzwind
    Feb 28 '15 at 19:29














0












0








0








I am trying to build an Android application and I need to install a database to store all my data like users, passwords etc. This is the first time when I do something like this and I dont have a clue about what i should do. I have seen that there is a way to use lamp but seems quite complicate and i am not familiar to php. Is there any other solution?










share|improve this question














I am trying to build an Android application and I need to install a database to store all my data like users, passwords etc. This is the first time when I do something like this and I dont have a clue about what i should do. I have seen that there is a way to use lamp but seems quite complicate and i am not familiar to php. Is there any other solution?







android mysql database






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Feb 28 '15 at 19:18









vladmateinfovladmateinfo

5702811




5702811













  • would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial

    – Rinzwind
    Feb 28 '15 at 19:29



















  • would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial

    – Rinzwind
    Feb 28 '15 at 19:29

















would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial

– Rinzwind
Feb 28 '15 at 19:29





would it not be more logical to use android version for sqlite? androidhive.info/2011/11/android-sqlite-database-tutorial

– Rinzwind
Feb 28 '15 at 19:29










2 Answers
2






active

oldest

votes


















2














LAMP would be overkill. That is intended for hosting a website.



If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).



MySQL:



sudo apt-get install mysql-server


SQLite:



sudo apt-get sqlite



SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.






MySQL Workbench can used for MySQL administration:



enter image description here



sudo apt-get install mysql-workbench


SQLiteman can be used for sqlite3 administration:



enter image description here



sudo apt-get sqliteman





share|improve this answer































    0














    Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial






    share|improve this answer








    New contributor




    vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "89"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f591149%2fhost-local-database-using-ubuntu-for-external-applications%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      2














      LAMP would be overkill. That is intended for hosting a website.



      If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).



      MySQL:



      sudo apt-get install mysql-server


      SQLite:



      sudo apt-get sqlite



      SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.






      MySQL Workbench can used for MySQL administration:



      enter image description here



      sudo apt-get install mysql-workbench


      SQLiteman can be used for sqlite3 administration:



      enter image description here



      sudo apt-get sqliteman





      share|improve this answer




























        2














        LAMP would be overkill. That is intended for hosting a website.



        If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).



        MySQL:



        sudo apt-get install mysql-server


        SQLite:



        sudo apt-get sqlite



        SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.






        MySQL Workbench can used for MySQL administration:



        enter image description here



        sudo apt-get install mysql-workbench


        SQLiteman can be used for sqlite3 administration:



        enter image description here



        sudo apt-get sqliteman





        share|improve this answer


























          2












          2








          2







          LAMP would be overkill. That is intended for hosting a website.



          If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).



          MySQL:



          sudo apt-get install mysql-server


          SQLite:



          sudo apt-get sqlite



          SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.






          MySQL Workbench can used for MySQL administration:



          enter image description here



          sudo apt-get install mysql-workbench


          SQLiteman can be used for sqlite3 administration:



          enter image description here



          sudo apt-get sqliteman





          share|improve this answer













          LAMP would be overkill. That is intended for hosting a website.



          If you only need a database you can install MySQL. But that might be overkill too. There is also SQLite (it is a "light" database and I would opt for that).



          MySQL:



          sudo apt-get install mysql-server


          SQLite:



          sudo apt-get sqlite



          SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine. SQLite is the most widely deployed SQL database engine in the world. The source code for SQLite is in the public domain.






          MySQL Workbench can used for MySQL administration:



          enter image description here



          sudo apt-get install mysql-workbench


          SQLiteman can be used for sqlite3 administration:



          enter image description here



          sudo apt-get sqliteman






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Feb 28 '15 at 19:26









          RinzwindRinzwind

          207k28398528




          207k28398528

























              0














              Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial






              share|improve this answer








              New contributor




              vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.

























                0














                Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial






                share|improve this answer








                New contributor




                vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.























                  0












                  0








                  0







                  Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial






                  share|improve this answer








                  New contributor




                  vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.










                  Just follow this tutorial and get the answer: https://hackr.io/tutorial/sqlite-tutorial







                  share|improve this answer








                  New contributor




                  vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  share|improve this answer



                  share|improve this answer






                  New contributor




                  vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.









                  answered 1 hour ago









                  vijaydevelopervijaydeveloper

                  1




                  1




                  New contributor




                  vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.





                  New contributor





                  vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






                  vijaydeveloper is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                  Check out our Code of Conduct.






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Ask Ubuntu!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f591149%2fhost-local-database-using-ubuntu-for-external-applications%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      GameSpot

                      日野市

                      Tu-95轟炸機